p PatchFirst

CVE-2024-21896

CVE-2024-21896

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 7.9 · Élevée · EPSS 1,3% · 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.11.1: Concernée (semver)
    • ≥ 21.0, < 21.6.2: Concernée (semver)

    Mettez à jour vers 20.11.1; Mettez à jour vers 21.6.2

Sources originales

Vérifiez votre serveur →