
CVE catalog
CVE-2024-21892
nodejs affected and fixed versions
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 CAP_NET_BIND_SERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set. This allows unprivileged users to inject code that inherits the process's elevated privileges.
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.56% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie-security | nodejs | 20.19.2+dfsg-1+deb13u3 | Fixed | [CVE-2024-21892] |
| Debiantrixie | nodejs | 18.19.1+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debiantrixie | nodejs | 20.19.2+dfsg-1+deb13u2 | Fixed | [CVE-2024-21892] |
| Debiansid | nodejs | 18.19.1+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debiansid | nodejs | 24.22.1+dfsg+~cs24.19.2-1 | Fixed | [CVE-2024-21892] |
| Debianforky | nodejs | 18.19.1+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debianforky | nodejs | 24.21.0+dfsg+~cs24.13.4-1 | Fixed | [CVE-2024-21892] |
| Debianbookworm-security | nodejs | 18.20.4+dfsg-1~deb12u3 | Fixed | [CVE-2024-21892] |
| Debianbookworm | nodejs | 18.20.4+dfsg-1~deb12u1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debianbookworm | nodejs | 18.20.4+dfsg-1~deb12u2 | Fixed | [CVE-2024-21892] |
Showing 10 fix observations. All 11 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | nodejs | 18.20.4+dfsg-1~deb12u1 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | nodejs | 18.20.4+dfsg-1~deb12u1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debianbookworm | nodejs | 18.20.4+dfsg-1~deb12u2 | Fixed | [CVE-2024-21892] |
| Debianbookworm-security | nodejs | 18.20.4+dfsg-1~deb12u3 | Fixed | [CVE-2024-21892] |
| Debianforky | nodejs | 18.19.1+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debianforky | nodejs | 24.21.0+dfsg+~cs24.13.4-1 | Fixed | [CVE-2024-21892] |
| Debiansid | nodejs | 18.19.1+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debiansid | nodejs | 24.22.1+dfsg+~cs24.19.2-1 | Fixed | [CVE-2024-21892] |
| Debiantrixie | nodejs | 18.19.1+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2024-21892] |
| Debiantrixie | nodejs | 20.19.2+dfsg-1+deb13u2 | Fixed | [CVE-2024-21892] |
| Debiantrixie-security | nodejs | 20.19.2+dfsg-1+deb13u3 | Fixed | [CVE-2024-21892] |
Original provider fields
{
"package_releases": [
{
"name": "nodejs",
"status": "fixed",
"release": "sid",
"version": "24.22.1+dfsg+~cs24.19.2-1"
},
{
"name": "nodejs",
"status": "fixed",
"release": "forky",
"version": "24.21.0+dfsg+~cs24.13.4-1"
},
{
"name": "nodejs",
"status": "fixed",
"release": "trixie",
"version": "20.19.2+dfsg-1+deb13u2"
},
{
"name": "nodejs",
"status": "fixed",
"release": "trixie-security",
"version": "20.19.2+dfsg-1+deb13u3"
},
{
"name": "nodejs",
"status": "fixed",
"release": "bookworm",
"version": "18.20.4+dfsg-1~deb12u2"
},
{
"name": "nodejs",
"status": "fixed",
"release": "bookworm-security",
"version": "18.20.4+dfsg-1~deb12u3"
}
],
"fixed_versions": [
{
"bug": 1064055,
"name": "nodejs",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "18.19.1+dfsg-1"
},
{
"bug": 1064055,
"name": "nodejs",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "18.19.1+dfsg-1"
},
{
"bug": 1064055,
"name": "nodejs",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "18.19.1+dfsg-1"
},
{
"bug": 1064055,
"name": "nodejs",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "18.20.4+dfsg-1~deb12u1"
}
],
"distribution_packages": [
{
"name": "nodejs",
"fixed_version": "18.20.4+dfsg-1~deb12u1",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libnode108]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [libnode-dev]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs]Unknown
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
18.20.4+dfsg-1~deb12u1dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
[Debian 13 (Trixie)]
- [libnode115]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
- [libnode-dev]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
- [nodejs]Unknown
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
18.19.1+dfsg-1dsa · nodejs · debian · 13
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-915275.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_1510.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-21892]
- [https://security-tracker.debian.org/tracker/CVE-2024-21892]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-21892.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0393.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]