synced 11 MIN AGO
01 Record

CVE-2024-21896

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

HighPUBLISHEDCNA: hackerone
CNA base score7.9 CVSS v3.xCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N/CR:M/IR:M/AR:M

02 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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.26% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 69.2% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-02-20 01:31Z2 YR AGO
Last updated
2025-04-30 22:25Z1 YR AGO
Reserved
2024-01-03
Assigning CNA
hackerone
Record state
PUBLISHED
Severity
High (CVSS 7.9)
CNA CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N/CR:M/IR:M/AR:M
Weaknesses
  • CWE-27Path Traversal: 'dir/../../filename'Variant
  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
Data version
5.1
Document digest
b497f5bc7c652550e383bb0d6ad98c16f25e4dd3fc2d5a8b249844a0a466c0ad

05 Affected products

VendorProductVersionsPlatforms
NodeJSNode4.0 to < 4.*, 5.0 to < 5.*, 6.0 to < 6.*, 7.0 to < 7.*, 8.0 to < 8.*, 9.0 to < 9.*, 10.0 to < 10.*, 11.0 to < 11.*, 12.0 to < 12.*, 13.0 to < 13.*, 14.0 to < 14.*, 15.0 to < 15.*, 16.0 to < 16.*, 17.0 to < 17.*, 19.0 to < 19.*, 20.0 to < 20.11.1, 21.0 to < 21.6.2—
nodejsnodejs21.6.1—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-devel
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-docs
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-full-i18n
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-nodemon
    Fixed in 3.0.1-1.module_el8.9.0+3731+490e3ce5
  • nodejs-packaging
    Fixed in 2021.06-4.module_el8.9.0+3684+11b9e959
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el8.9.0+3684+11b9e959
  • npm
    Fixed in 1:10.2.4-1.20.11.1.1.module_el8.9.0+3775+d8460d35

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • nodejs
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-devel
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-docs
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-full-i18n
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-nodemon
    Fixed in 3.0.1-1.module_el9.3.0+47+c33bc288
  • nodejs-packaging
    Fixed in 2021.06-4.module_el9.3.0+48+1cf146a1
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el9.3.0+48+1cf146a1
  • npm
    Fixed in 1:10.2.4-1.20.11.1.1.module_el9.3.0+88+29afeaa2

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • nodejs
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-devel
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-docs
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-full-i18n
    Fixed in 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-nodemon
    Fixed in 3.0.1-1.module_el8.9.0+3731+490e3ce5
  • nodejs-packaging
    Fixed in 2021.06-4.module_el8.9.0+3684+11b9e959
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el8.9.0+3684+11b9e959
  • npm
    Fixed in 1:10.2.4-1.20.11.1.1.module_el8.9.0+3775+d8460d35

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • nodejs
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-devel
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-docs
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-full-i18n
    Fixed in 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-nodemon
    Fixed in 3.0.1-1.module_el9.3.0+47+c33bc288
  • nodejs-packaging
    Fixed in 2021.06-4.module_el9.3.0+48+1cf146a1
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el9.3.0+48+1cf146a1
  • npm
    Fixed in 1:10.2.4-1.20.11.1.1.module_el9.3.0+88+29afeaa2

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.