CVE-2023-39332
CVE-2023-39332
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
EPSS 2,2% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
node.js
- Versions du logiciel
- ≥ 4.0, < 4.*: Concernée (semver)
- ≥ 5.0, < 5.*: Concernée (semver)
- ≥ 6.0, < 6.*: Concernée (semver)
- ≥ 7.0, < 7.*: Concernée (semver)
- ≥ 8.0, < 8.*: Concernée (semver)
- ≥ 9.0, < 9.*: Concernée (semver)
- ≥ 10.0, < 10.*: Concernée (semver)
- ≥ 11.0, < 11.*: Concernée (semver)
- ≥ 12.0, < 12.*: Concernée (semver)
- ≥ 13.0, < 13.*: Concernée (semver)
- ≥ 14.0, < 14.*: Concernée (semver)
- ≥ 15.0, < 15.*: Concernée (semver)
- ≥ 16.0, < 16.*: Concernée (semver)
- ≥ 17.0, < 17.*: Concernée (semver)
- ≥ 19.0, < 19.*: Concernée (semver)
- ≥ 20.0, < 20.8.1: Concernée (semver)
Mettez à jour vers 20.8.1
Sources originales
- https://hackerone.com/reports/2199818
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/
- https://security.netapp.com/advisory/ntap-20231116-0009/
- https://security.netapp.com/advisory/ntap-20241108-0002/
- https://nvd.nist.gov/vuln/detail/CVE-2023-39332