{"schema_version":"1.9.0","id":"CVE-2023-39332","published":"2023-10-18T03:55:18.469Z","modified":"2026-08-12T03:51:31.618303418Z","aliases":["BIT-node-2023-39332","BIT-node-min-2023-39332"],"related":["ALSA-2023:7205","CGA-6r5c-29m7-93f9","openSUSE-SU-2024:13337-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nodejs/node","events":[{"introduced":"e7618fb5a5fc25d76b6474e2a6607f04fd6f10e0"},{"fixed":"a86c2caea9c329442bbbd8eeec6d5385b594b7ca"}],"database_specific":{"cpe":"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","extracted_events":[{"introduced":"20.0.0"},{"fixed":"20.8.0"}],"source":"CPE_RANGE"}}],"versions":["v20.7.0","v20.6.1","v20.6.0","v20.5.1","v20.5.0","v20.4.0","v20.3.1","v20.3.0","v20.2.0","v20.1.0","v20.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39332.json"}}],"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":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39332.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39332"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20231116-0009/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241108-0002/"}],"database_specific":{"cna_assigner":"hackerone","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39332.json","unresolved_ranges":[{"extracted_events":[{"introduced":"4.0"},{"fixed":"4.*"},{"introduced":"5.0"},{"fixed":"5.*"},{"introduced":"6.0"},{"fixed":"6.*"},{"introduced":"7.0"},{"fixed":"7.*"},{"introduced":"8.0"},{"fixed":"8.*"},{"introduced":"9.0"},{"fixed":"9.*"},{"introduced":"10.0"},{"fixed":"10.*"},{"introduced":"11.0"},{"fixed":"11.*"},{"introduced":"12.0"},{"fixed":"12.*"},{"introduced":"13.0"},{"fixed":"13.*"},{"introduced":"14.0"},{"fixed":"14.*"},{"introduced":"15.0"},{"fixed":"15.*"},{"introduced":"16.0"},{"fixed":"16.*"},{"introduced":"17.0"},{"fixed":"17.*"},{"introduced":"19.0"},{"fixed":"19.*"},{"introduced":"20.0"},{"fixed":"20.8.1"}],"source":"AFFECTED_FIELD"}]}}