Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2024-21896The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path…

Description

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.

Timeline

  1. ID reserved

    By hackerone

  2. · 48 days later

    Published

  3. · 15 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2024-21896, by who scored it
Scored byCVSSScoreVector
hackeroneCNA (assigner)3.0High7.9CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N/CR:M/IR:M/AR:M
NVDNVD · Analyzed3.1Critical9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
1.3% · top 30% of all CVEs (19 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.9.

Affected products

  • NodeJS · Node

    • affected 4.0 – < 4.*
    • affected 5.0 – < 5.*
    • affected 6.0 – < 6.*
    • affected 7.0 – < 7.*
    • affected 8.0 – < 8.*
    • affected 9.0 – < 9.*
    • affected 10.0 – < 10.*
    • affected 11.0 – < 11.*
    • affected 12.0 – < 12.*
    • affected 13.0 – < 13.*
    • affected 14.0 – < 14.*
    • affected 15.0 – < 15.*
    • affected 16.0 – < 16.*
    • affected 17.0 – < 17.*
    • affected 19.0 – < 19.*
    • affected 20.0 – < 20.11.1
    • affected 21.0 – < 21.6.2

References

References3

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2024-21896 badge
[![CVE-2024-21896](https://cveledger.app/badge/CVE-2024-21896.svg)](https://cveledger.app/cve/CVE-2024-21896)

Record last updated .