5.3medium
A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read fl…
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.58% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2023-30582BIT-NODE-MIN-2023-30582
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
| Product or package | Versions | Reported by |
|---|---|---|
| NodeJS Node | from 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 7 more | CVE List |
| nodejs nodejs | from 20.0 before 20.3.1 | CVE List |
| node (Bitnami) | from 20.0.0 before 20.3.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | from 20.0.0 before 20.3.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se ha identificado una vulnerabilidad en la versión 20 de Node.js que afecta a los usuarios del modelo de permisos experimental cuando se utiliza el indicador --allow-fs-read con un argumento distinto de *. Esta falla surge de un modelo de permisos inadecuado que no restringe la supervisión de archivos a través de la API fs.watchFile. Como resultado, los actores maliciosos pueden supervisar archivos a los que no tienen acceso de lectura explícito. Tenga en cuenta que en el momento en que se emitió esta CVE, el modelo de permisos es una característica experimental de Node.js.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-30582 changed 2025-04-30 | CVE Terms of Use |
| NVD | CVE-2023-30582 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2023-30582 changed 2025-04-03 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2023-30582 changed 2025-04-03 | Apache-2.0 |