1. Accueil
  2. Vulnérabilités
  3. CVE-2023-39332

CVE-2023-39332

Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js…

Publiée le 18 oct. 2023 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Moyen 63/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fedoraproject (1 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 39 — NVD
Nodejs (1 ligne(s))
Nodejs
ProduitVersionsCorrigé dansSource
Node.js de 20.0.0 (inclus) à 20.8.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-22 · Traversée de chemin / fichiers

Comment sont obtenues et calculées ces données