{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21892","id":"CVE-2024-21892","title":"On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the…","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.\nDue to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set.\nThis allows unprivileged users to inject ","descriptionLong":"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.\nDue to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set.\nThis allows unprivileged users to inject code that inherits the process's elevated privileges.","published":"2024-02-20T01:31:08.073Z","updated":"2026-06-17T07:10:21.220Z","reserved":"2024-01-03T01:04:06.539Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"hackerone"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"hackerone.com"}],"rating":"high","products":["NodeJS Node"],"affectedProducts":[{"vendor":"NodeJS","product":"Node","defaultStatus":"unaffected","versions":[{"versionType":"semver","version":"4.0","status":"affected","lessThan":"4.*"},{"versionType":"semver","version":"5.0","status":"affected","lessThan":"5.*"},{"versionType":"semver","version":"6.0","status":"affected","lessThan":"6.*"},{"versionType":"semver","version":"7.0","status":"affected","lessThan":"7.*"},{"versionType":"semver","version":"8.0","status":"affected","lessThan":"8.*"},{"versionType":"semver","version":"9.0","status":"affected","lessThan":"9.*"},{"versionType":"semver","version":"10.0","status":"affected","lessThan":"10.*"},{"versionType":"semver","version":"11.0","status":"affected","lessThan":"11.*"},{"versionType":"semver","version":"12.0","status":"affected","lessThan":"12.*"},{"versionType":"semver","version":"13.0","status":"affected","lessThan":"13.*"},{"versionType":"semver","version":"14.0","status":"affected","lessThan":"14.*"},{"versionType":"semver","version":"15.0","status":"affected","lessThan":"15.*"},{"versionType":"semver","version":"16.0","status":"affected","lessThan":"16.*"},{"versionType":"semver","version":"17.0","status":"affected","lessThan":"17.*"},{"versionType":"semver","version":"18.0","status":"affected","lessThan":"18.19.1"},{"versionType":"semver","version":"19.0","status":"affected","lessThan":"19.*"},{"versionType":"semver","version":"20.0","status":"affected","lessThan":"20.11.1"},{"versionType":"semver","version":"21.0","status":"affected","lessThan":"21.6.2"}],"platforms":[]}],"packages":[],"cwes":["CWE-269","CWE-94"],"aliases":["BIT-node-2024-21892","BIT-node-min-2024-21892"],"references":[{"url":"https://hackerone.com/reports/2237545","tags":["x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://security.netapp.com/advisory/ntap-20240322-0003/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/11/1","tags":["x_transferred","Mailing List","Third Party Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00562,"epssPercentile":0.47507,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21892","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21892","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21892","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21892","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["nodejs"],"critical":[],"attention":null}