{"id":"BIT-node-min-2023-39332","details":"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.\r\n\r\nThis is distinct from CVE-2023-32004 which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`.\r\n\r\nPlease note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.","aliases":["BIT-node-2023-39332","CVE-2023-39332"],"modified":"2025-11-06T13:25:46.476Z","published":"2024-12-16T13:56:35.222Z","database_specific":{"severity":"Critical","cpes":["cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*"]},"references":[{"type":"WEB","url":"https://hackerone.com/reports/2199818"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20231116-0009/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39332"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241108-0002/"}],"affected":[{"package":{"name":"node-min","ecosystem":"Bitnami","purl":"pkg:bitnami/node-min"},"ranges":[{"type":"SEMVER","events":[{"introduced":"20.0.0"},{"fixed":"20.8.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/node-min/BIT-node-min-2023-39332.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.7.3"}