Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-21892

published high CVSS 3.0 · 7.5

nodejs: code injection and privilege escalation through Linux capabilities

Title from Red Hat VEX

Published
20 Feb 2024, 01:31:08 UTC
Updated
30 Apr 2025, 22:25:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
NodeJS — Node4.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 · Other versions: unaffected Affected Not stated hackerone
nodejs — node.js18.0.0 through 18.19.0 · Other versions: unaffected Affected Not stated CISA-ADP
nodejs — node.js20.0.0 through 20.11.0 · Other versions: unaffected Affected Not stated CISA-ADP
nodejs — node.js21.0.0 through 21.6.0 · Other versions: unaffected Affected Not stated CISA-ADP
Amazon Linux AL2023 Release evaluationALAS2023-2024-544 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-569 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 nodejs Advisory build 1:18.19.1-1.module_el8.9.0+3753+4de0891b ALSA-2024:1510
Alpine Linux edge openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bookworm nodejs Advisory build 18.20.4+dfsg-1~deb12u1 DSA-5991-1
Oracle Linux 8 nodejsaarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
AlmaLinux 8 nodejs Advisory build 1:20.11.1-1.module_el8.9.0+3775+d8460d35 ALSA-2024:1687
AlmaLinux 8 nodejs-devel Advisory build 1:18.19.1-1.module_el8.9.0+3753+4de0891b ALSA-2024:1510
AlmaLinux 8 nodejs-devel Advisory build 1:20.11.1-1.module_el8.9.0+3775+d8460d35 ALSA-2024:1687
AlmaLinux 8 nodejs-docs Advisory build 1:18.19.1-1.module_el8.9.0+3753+4de0891b ALSA-2024:1510
AlmaLinux 8 nodejs-docs Advisory build 1:20.11.1-1.module_el8.9.0+3775+d8460d35 ALSA-2024:1687
AlmaLinux 8 nodejs-full-i18n Advisory build 1:18.19.1-1.module_el8.9.0+3753+4de0891b ALSA-2024:1510
AlmaLinux 8 nodejs-full-i18n Advisory build 1:20.11.1-1.module_el8.9.0+3775+d8460d35 ALSA-2024:1687
AlmaLinux 8 nodejs-nodemon Advisory build 3.0.1-1.module_el8.8.0+3613+1ed8c91d ALSA-2024:1510
AlmaLinux 8 nodejs-nodemon Advisory build 3.0.1-1.module_el8.9.0+3731+490e3ce5 ALSA-2024:1687
AlmaLinux 8 nodejs-packaging Advisory build 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2024:1510
AlmaLinux 8 nodejs-packaging Advisory build 2021.06-4.module_el8.9.0+3684+11b9e959 ALSA-2024:1687
AlmaLinux 8 nodejs-packaging-bundler Advisory build 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2024:1510
AlmaLinux 8 nodejs-packaging-bundler Advisory build 2021.06-4.module_el8.9.0+3684+11b9e959 ALSA-2024:1687
AlmaLinux 8 npm Advisory build 1:10.2.4-1.18.19.1.1.module_el8.9.0+3753+4de0891b ALSA-2024:1510
AlmaLinux 8 npm Advisory build 1:10.2.4-1.20.11.1.1.module_el8.9.0+3775+d8460d35 ALSA-2024:1687
AlmaLinux 9 nodejs Advisory build 1:18.19.1-1.module_el9.3.0+59+28b95644 ALSA-2024:1503
AlmaLinux 9 nodejs Advisory build 1:20.11.1-1.module_el9.3.0+88+29afeaa2 ALSA-2024:1688
AlmaLinux 9 nodejs-devel Advisory build 1:18.19.1-1.module_el9.3.0+59+28b95644 ALSA-2024:1503
AlmaLinux 9 nodejs-devel Advisory build 1:20.11.1-1.module_el9.3.0+88+29afeaa2 ALSA-2024:1688
AlmaLinux 9 nodejs-docs Advisory build 1:18.19.1-1.module_el9.3.0+59+28b95644 ALSA-2024:1503
AlmaLinux 9 nodejs-docs Advisory build 1:20.11.1-1.module_el9.3.0+88+29afeaa2 ALSA-2024:1688
AlmaLinux 9 nodejs-full-i18n Advisory build 1:18.19.1-1.module_el9.3.0+59+28b95644 ALSA-2024:1503
AlmaLinux 9 nodejs-full-i18n Advisory build 1:20.11.1-1.module_el9.3.0+88+29afeaa2 ALSA-2024:1688
AlmaLinux 9 nodejs-nodemon Advisory build 3.0.1-1.module_el9.2.0+36+853e48f5 ALSA-2024:1503
AlmaLinux 9 nodejs-nodemon Advisory build 3.0.1-1.module_el9.3.0+47+c33bc288 ALSA-2024:1688
AlmaLinux 9 nodejs-packaging Advisory build 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2024:1503
AlmaLinux 9 nodejs-packaging Advisory build 2021.06-4.module_el9.3.0+48+1cf146a1 ALSA-2024:1688
AlmaLinux 9 nodejs-packaging-bundler Advisory build 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2024:1503
AlmaLinux 9 nodejs-packaging-bundler Advisory build 2021.06-4.module_el9.3.0+48+1cf146a1 ALSA-2024:1688
AlmaLinux 9 npm Advisory build 1:10.2.4-1.18.19.1.1.module_el9.3.0+59+28b95644 ALSA-2024:1503
AlmaLinux 9 npm Advisory build 1:10.2.4-1.20.11.1.1.module_el9.3.0+88+29afeaa2 ALSA-2024:1688
Alpine Linux edge openjdk21 Fixed 21.0.3_p9-r0 Package fix record
Alpine Linux v3.17 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.18 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.19 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.19 openjdk21 Fixed 21.0.3_p9-r0 Package fix record
Alpine Linux v3.20 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.20 openjdk21 Fixed 21.0.3_p9-r0 Package fix record
Alpine Linux v3.21 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.21 openjdk21 Fixed 21.0.3_p9-r0 Package fix record
Alpine Linux v3.22 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.22 openjdk21 Fixed 21.0.3_p9-r0 Package fix record
Alpine Linux v3.23 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.23 openjdk21 Fixed 21.0.3_p9-r0 Package fix record
Alpine Linux v3.24 openjdk17 Fixed 17.0.11_p9-r0 Package fix record
Alpine Linux v3.24 openjdk21 Fixed 21.0.3_p9-r0 Package fix record
Oracle Linux 8 nodejsaarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejsx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 nodejsx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejs-develaarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 nodejs-develaarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejs-develx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 nodejs-develx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejs-docsaarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 nodejs-docsaarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejs-docsx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 nodejs-docsx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejs-full-i18naarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 nodejs-full-i18naarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejs-full-i18nx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 nodejs-full-i18nx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 nodejs-nodemonaarch64 · nodejs · 18b Advisory build 0:3.0.1-1.module+el8.9.0+90157+ed89dc20 ELSA-2024-1510
Oracle Linux 8 nodejs-nodemonaarch64 · nodejs · 20b Advisory build 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687
Oracle Linux 8 nodejs-nodemonx86_64 · nodejs · 18b Advisory build 0:3.0.1-1.module+el8.9.0+90157+ed89dc20 ELSA-2024-1510
Oracle Linux 8 nodejs-nodemonx86_64 · nodejs · 20b Advisory build 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687
Oracle Linux 8 nodejs-packagingaarch64 · nodejs · 18b Advisory build 0:2021.06-4.module+el8.9.0+90157+ed89dc20 ELSA-2024-1510
Oracle Linux 8 nodejs-packagingaarch64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687
Oracle Linux 8 nodejs-packagingx86_64 · nodejs · 18b Advisory build 0:2021.06-4.module+el8.9.0+90157+ed89dc20 ELSA-2024-1510
Oracle Linux 8 nodejs-packagingx86_64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687
Oracle Linux 8 nodejs-packaging-bundleraarch64 · nodejs · 18b Advisory build 0:2021.06-4.module+el8.9.0+90157+ed89dc20 ELSA-2024-1510
Oracle Linux 8 nodejs-packaging-bundleraarch64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687
Oracle Linux 8 nodejs-packaging-bundlerx86_64 · nodejs · 18b Advisory build 0:2021.06-4.module+el8.9.0+90157+ed89dc20 ELSA-2024-1510
Oracle Linux 8 nodejs-packaging-bundlerx86_64 · nodejs · 20b Advisory build 0:2021.06-4.module+el8.9.0+90082+b6a613a6 ELSA-2024-1687
Oracle Linux 8 npmaarch64 · nodejs · 18b Advisory build 1:10.2.4-1.18.19.1.1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 npmaarch64 · nodejs · 20b Advisory build 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 8 npmx86_64 · nodejs · 18b Advisory build 1:10.2.4-1.18.19.1.1.module+el8.9.0+90195+64cfbb95 ELSA-2024-1510
Oracle Linux 8 npmx86_64 · nodejs · 20b Advisory build 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 ELSA-2024-1687
Oracle Linux 9 nodejsaarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejsaarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejsx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejsx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejs-develaarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejs-develaarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejs-develx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejs-develx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejs-docsaarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejs-docsaarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejs-docsx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejs-docsx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejs-full-i18naarch64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejs-full-i18naarch64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejs-full-i18nx86_64 · nodejs · 18b Advisory build 1:18.19.1-1.module+el9.3.0+90193+90aa0dae ELSA-2024-1503
Oracle Linux 9 nodejs-full-i18nx86_64 · nodejs · 20b Advisory build 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 ELSA-2024-1688
Oracle Linux 9 nodejs-nodemonaarch64 · nodejs · 18b Advisory build 0:3.0.1-1.module+el9.3.0+90167+01064547 ELSA-2024-1503
Oracle Linux 9 nodejs-nodemonaarch64 · nodejs · 20b Advisory build 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 ELSA-2024-1688
Oracle Linux 9 nodejs-nodemonx86_64 · nodejs · 18b Advisory build 0:3.0.1-1.module+el9.3.0+90167+01064547 ELSA-2024-1503

Package entries are limited to the first 100 builds and 100 linked advisories.

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 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.

en · hackerone · cna

Vendor advisories explicitly linked to this CVE.

48

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
7.5 / 10
Severity
high
Provider
hackerone · cna
Vector string
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
NodeJS Node 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.* (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.* (affected · semver)17.0 to < 17.* (affected · semver)18.0 to < 18.19.1 (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.11.1 (affected · semver)21.0 to < 21.6.2 (affected · semver)Default: unaffected hackerone · cna
nodejs node.js 18.0.0 through 18.19.0 (affected · semver)Default: unaffected CISA-ADP · adp
nodejs node.js 20.0.0 through 20.11.0 (affected · semver)Default: unaffected CISA-ADP · adp
nodejs node.js 21.0.0 through 21.6.0 (affected · semver)Default: unaffected CISA-ADP · adp

Weaknesses

1
  • CWE-269 CWE-269 Improper Privilege Management (CISA-ADP · adp)

References

3

Provider assertions

3

hackerone · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9a657872072383934c239625dd93006cd50bc5f2d0cf38908f905c000710e2d2
Ingested
23 Sep 2026, 08:19:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected