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...
Original description
The description as published by the source.
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 packages
Bitnami
node-min
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"18.19.1"},{"introduced":"19.0.0"},{"fixed":"20.11.1"},{"introduced":"21.0.0"},{"fixed":"21.6.2"}]}]
Bitnami
node
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"18.19.1"},{"introduced":"19.0.0"},{"fixed":"20.11.1"},{"introduced":"21.0.0"},{"fixed":"21.6.2"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-21892 nodejs Fixed in: 18.20.4+dfsg-1~deb12u1
References
- advisory openwall.com
- advisory hackerone.com
- advisory security.netapp.com
- web nvd.nist.gov
- web bugzilla.redhat.com
- web github.com
- web github.com
- web github.com
- web github.com
- web oracle.com