1. Accueil
  2. Vulnérabilités
  3. CVE-2024-21896

CVE-2024-21896

The permission model protects itself against path traversal attacks by calling path.resolve() on any paths…

Publiée le 20 févr. 2024 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 60/100

Résumé

The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability. This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21. 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

Nodejs (2 ligne(s))
Nodejs
ProduitVersionsCorrigé dansSource
Node.js de 20.0.0 (inclus) à 20.11.1 (exclu) — NVD
Node.js de 21.0.0 (inclus) à 21.6.2 (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)
CNA (éditeur ou attributeur)
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-27 · Autre (CWE-27)

Comment sont obtenues et calculées ces données