synced 13 MIN AGO
01 Record

CVE-2024-21890

The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` --allow-fs-read=/home/node/.ssh/*.pub ```

MediumPUBLISHEDCNA: hackerone
CNA base score5.0 CVSS v3.xCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

02 Description

The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` --allow-fs-read=/home/node/.ssh/*.pub ```

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 ImpactpartialSuccessful exploitation gives limited 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
0.94% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 60.7% of scored records. A rank, not a probability.
NVD base score
6.5 (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:L/I:L/A:N
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. 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
Medium (CVSS 5.0)
CNA CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
  • CWE-1059Insufficient Technical DocumentationClass
Data version
5.1
Document digest
7553c42b2c3fc1dccb166c63ee6561e2d5dbd0ac6faf356b3f5c35d535bcb860

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—

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.

Ubuntu 25.10

  • nodejs
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • nodejs
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • nodejs
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. 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.