Vulnerabilities · 2024 · Nodejs
CVE-2024-21892
Nodejs Node.js vulnerability
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.
Affected products
Node.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openwall.com/lists/oss-security/2024/03/11/1 · Third Party Advisory
- hackerone.com/reports/2237545 · Third Party Advisory
- security.netapp.com/advisory/ntap-20240322-0003/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-21892
- cve.org/CVERecord?id=CVE-2024-21892
More vulnerabilities in Nodejs products
CVE-2026-22036CVE-2026-21637CVE-2026-21636CVE-2025-59466CVE-2025-59465CVE-2025-59464CVE-2025-55132CVE-2025-55130All 154
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.