synced 14 MIN AGO
01 Record

CVE-2024-21892

On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of

HighPUBLISHEDCNA: hackerone
CNA base score7.5 CVSS v3.xCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

02 Description

On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of

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
0.56% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 46.4% of scored records. A rank, not a probability.
NVD base score
7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. 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.5)
CNA CVSS vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Weaknesses
  • CWE-269Improper Privilege ManagementClass
  • CWE-94Improper Control of Generation of Code ('Code Injection')Base
Data version
5.1
Document digest
b0b2c4b989d0a7d8661321582c2f122ac0fdd4c24a025febfa584d5ad0395310

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.*, 18.0 to < 18.19.1, 19.0 to < 19.*, 20.0 to < 20.11.1, 21.0 to < 21.6.2—
nodejsnode.js18.0.0 to 18.19.0, 20.0.0 to 20.11.0, 21.0.0 to 21.6.0—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el8.8.0+3613+1ed8c91d
    • Affected before 3.0.1-1.module_el8.9.0+3731+490e3ce5
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 2021.06-4.module_el8.9.0+3684+11b9e959
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 2021.06-4.module_el8.9.0+3684+11b9e959
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.2.4-1.18.19.1.1.module_el8.9.0+3753+4de0891b
    • Affected before 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

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el9.2.0+36+853e48f5
    • Affected before 3.0.1-1.module_el9.3.0+47+c33bc288
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
    • Affected before 2021.06-4.module_el9.3.0+48+1cf146a1
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
    • Affected before 2021.06-4.module_el9.3.0+48+1cf146a1
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.2.4-1.18.19.1.1.module_el9.3.0+59+28b95644
    • Affected before 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

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el8.9.0+3753+4de0891b
    • Affected before 1:20.11.1-1.module_el8.9.0+3775+d8460d35
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el8.8.0+3613+1ed8c91d
    • Affected before 3.0.1-1.module_el8.9.0+3731+490e3ce5
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 2021.06-4.module_el8.9.0+3684+11b9e959
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 2021.06-4.module_el8.9.0+3684+11b9e959
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.2.4-1.18.19.1.1.module_el8.9.0+3753+4de0891b
    • Affected before 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

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:18.19.1-1.module_el9.3.0+59+28b95644
    • Affected before 1:20.11.1-1.module_el9.3.0+88+29afeaa2
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el9.2.0+36+853e48f5
    • Affected before 3.0.1-1.module_el9.3.0+47+c33bc288
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
    • Affected before 2021.06-4.module_el9.3.0+48+1cf146a1
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
    • Affected before 2021.06-4.module_el9.3.0+48+1cf146a1
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.2.4-1.18.19.1.1.module_el9.3.0+59+28b95644
    • Affected before 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.

Debian 12

  • nodejs
    Fixed in 18.20.4+dfsg-1~deb12u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • nodejs
    Fixed in 18.19.1+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • nodejs
    Fixed in 18.19.1+dfsg-1

Source: Debian Security Tracker, the Debian security team. 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.