CVE-2023-39332
NodeJS Node — Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects.
Description · from the CVE record
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.
Affected
ProductAffectedFixed inSource
Node4.0 – < 4.*4.*CNA
Node5.0 – < 5.*5.*CNA
Node6.0 – < 6.*6.*CNA
Node7.0 – < 7.*7.*CNA
Node8.0 – < 8.*8.*CNA
Node9.0 – < 9.*9.*CNA
Node10.0 – < 10.*10.*CNA
Node11.0 – < 11.*11.*CNA
Node12.0 – < 12.*12.*CNA
Node13.0 – < 13.*13.*CNA
Node14.0 – < 14.*14.*CNA
Node15.0 – < 15.*15.*CNA
Scores by source
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total