Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-34460.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-34460
Upstream
Published
2024-02-20T02:15:50Z
Modified
2026-04-01T05:11:28.694563Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
CVE-2024-21892 affecting package nodejs18 for versions less than 18.20.2-1
Details

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

References

Affected packages

Azure Linux:2 / nodejs18

Package

Name
nodejs18
Purl
pkg:rpm/azure-linux/nodejs18

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
18.20.2-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-34460.json"