What’s Vulnerable › Vulnerabilities
CVE-2023-30582
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-07 · updated 2026-06-17
- Weakness: CWE-284
Description
A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flag is used with a non-* argument. This flaw arises from an inadequate permission model that fails to restrict file watching through the fs.watchFile API. As a result, malicious actors can monitor files that they do not have explicit read access to. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
Affected products
- nodejs: from 20.0 before 20.3.1 — fixed in 20.3.1
How to fix
Upgrade to a fixed version: nodejs 20.3.1. Check the vendor advisory for mitigations.
References
- https://nodejs.org/en/blog/vulnerability/june-2023-security-releases
- https://security.netapp.com/advisory/ntap-20240926-0007/
Get alerted when CVE-2023-30582 or the next vulnerability affects your stack