NA

CVE-2024-21892

Published: 20/02/2024 Updated: 22/03/2024

Vulnerability Summary

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.

Vulnerability Trend

Vendor Advisories

Debian Bug report logs - #1064055 nodejs: CVE-2023-46809 CVE-2024-22019 CVE-2024-21892 Package: src:nodejs; Maintainer for src:nodejs is Debian Javascript Maintainers <pkg-javascript-devel@alioth-listsdebiannet>; Reported by: Moritz Mühlenhoff <jmm@inutilorg> Date: Fri, 16 Feb 2024 14:30:02 UTC Severity: grave Ta ...
Description<!---->A flaw was found in Nodejs On Linux, Nodejs ignores certain environment variables if they have been set by an unprivileged user while the process is running with elevated privileges, with the exception of CAP_NET_BIND_SERVICE Due to a bug in the implementation of this exception, Nodejs incorrectly applies this exception even ...

Mailing Lists

<!--X-Body-Begin--> <!--X-User-Header--> oss-sec mailing list archives <!--X-User-Header-End--> <!--X-TopPNI--> By Date By Thread </form> <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> NodeJS v{18x,20x,21x} February Security Updates <!--X-Subject-Header-End--> <!--X-Head-of-Message--> From: suarezmiguelc ...