CVE-2024-21892
This allows unprivileged users to inject code that inherits the process's elevated privileges.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.56%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.56% probability · 45th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94, CWE-269
- Affected
- nodejs/node.js
- Source
- support@hackerone.com
References
- http://www.openwall.com/lists/oss-security/2024/03/11/1Mailing List, Third Party Advisory
- https://hackerone.com/reports/2237545Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240322-0003/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/03/11/1Mailing List, Third Party Advisory
- https://hackerone.com/reports/2237545Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240322-0003/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.