ghsa-f27j-4f6g-jp27
Vulnerability from github
Published
2024-02-20 03:30
Modified
2024-05-01 18:30
Severity
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 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": [], "aliases": [ "CVE-2024-21892" ], "database_specific": { "cwe_ids": [], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2024-02-20T02:15:50Z", "severity": "HIGH" }, "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 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\u0027s elevated privileges.", "id": "GHSA-f27j-4f6g-jp27", "modified": "2024-05-01T18:30:35Z", "published": "2024-02-20T03:30:57Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21892" }, { "type": "WEB", "url": "https://hackerone.com/reports/2237545" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20240322-0003" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2024/03/11/1" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N", "type": "CVSS_V3" } ] }
Loading...