Vulnerabilities · 2023 · Nodejs
CVE-2023-39332
Nodejs Node.js vulnerability
Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004), but not through non-`Buffer` `Uint8Array` objects. This is distinct from CVE-2023-32004 which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Node.js, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- hackerone.com/reports/2199818 · Third Party Advisory
- security.netapp.com/advisory/ntap-20231116-0009/ · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/3N4
- security.netapp.com/advisory/ntap-20241108-0002/
- nvd.nist.gov/vuln/detail/CVE-2023-39332
- cve.org/CVERecord?id=CVE-2023-39332
More vulnerabilities in Nodejs products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.