{"id":"CVE-2023-39332","published":"2023-10-18T03:55:18Z","modified":"2025-11-03T21:49:17Z","title":"Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects","vendor":"NodeJS","product":"Node","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01891,"percentile":0.80129,"provenance":"source"},"cwes":[],"references":[{"url":"https://hackerone.com/reports/2199818","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20231116-0009/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002/","tags":[]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":16.03}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"NodeJS","product":"Node","versions":[">= 4.0, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*",">= 10.0, < 10.*",">= 11.0, < 11.*",">= 12.0, < 12.*",">= 13.0, < 13.*"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-13T14:54:41.045769Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-43063","exploited":false,"provenance":"source"}}