Bug 1219992 (CVE-2024-21892) - VUL-0: CVE-2024-21892: nodejs18,nodejs20,nodejs21: Code injection and privilege escalation through Linux capabilities
Summary: VUL-0: CVE-2024-21892: nodejs18,nodejs20,nodejs21: Code injection and privile...
Status: RESOLVED FIXED
Alias: CVE-2024-21892
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/394349/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-21892:7.8:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-16 08:30 UTC by SMASH SMASH
Modified: 2024-04-19 08:28 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-16 08:30:29 UTC
https://nodejs.org/en/blog/vulnerability/february-2024-security-releases/

Code injection and privilege escalation through Linux capabilities (CVE-2024-21892) - (High)

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.

Impacts:

    This vulnerability affects all users in all active release lines: 18.x, 20.x, and 21.x.

Thank you, to Tobias Nießen for reporting this vulnerability and for fixing it.
Comment 1 OBSbugzilla Bot 2024-02-16 17:15:06 UTC
This is an autogenerated message for OBS integration:
This bug (1219992) was mentioned in
https://build.opensuse.org/request/show/1147152 Factory / nodejs20
https://build.opensuse.org/request/show/1147153 Factory / nodejs21
Comment 4 Maintenance Automation 2024-02-28 12:30:09 UTC
SUSE-SU-2024:0644-1: An update that solves six vulnerabilities can now be installed.

Category: security (important)
Bug References: 1219724, 1219992, 1219993, 1219997, 1220014, 1220017
CVE References: CVE-2023-46809, CVE-2024-21892, CVE-2024-22019, CVE-2024-22025, CVE-2024-24758, CVE-2024-24806
Sources used:
Web and Scripting Module 12 (src): nodejs18-18.19.1-8.18.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Maintenance Automation 2024-02-28 12:30:13 UTC
SUSE-SU-2024:0643-1: An update that solves 10 vulnerabilities and has one security fix can now be installed.

Category: security (important)
Bug References: 1219152, 1219724, 1219992, 1219993, 1219994, 1219995, 1219997, 1219998, 1219999, 1220014, 1220017
CVE References: CVE-2023-46809, CVE-2024-21890, CVE-2024-21891, CVE-2024-21892, CVE-2024-21896, CVE-2024-22017, CVE-2024-22019, CVE-2024-22025, CVE-2024-24758, CVE-2024-24806
Sources used:
openSUSE Leap 15.5 (src): nodejs20-20.11.1-150500.11.6.1
Web and Scripting Module 15-SP5 (src): nodejs20-20.11.1-150500.11.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Maintenance Automation 2024-02-29 16:30:20 UTC
SUSE-SU-2024:0730-1: An update that solves six vulnerabilities can now be installed.

Category: security (important)
Bug References: 1219724, 1219992, 1219993, 1219997, 1220014, 1220017
CVE References: CVE-2023-46809, CVE-2024-21892, CVE-2024-22019, CVE-2024-22025, CVE-2024-24758, CVE-2024-24806
Sources used:
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): nodejs18-18.19.1-150400.9.18.2
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): nodejs18-18.19.1-150400.9.18.2
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): nodejs18-18.19.1-150400.9.18.2
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): nodejs18-18.19.1-150400.9.18.2
SUSE Manager Server 4.3 (src): nodejs18-18.19.1-150400.9.18.2
openSUSE Leap 15.4 (src): nodejs18-18.19.1-150400.9.18.2
openSUSE Leap 15.5 (src): nodejs18-18.19.1-150400.9.18.2
Web and Scripting Module 15-SP5 (src): nodejs18-18.19.1-150400.9.18.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Carlos López 2024-04-19 08:28:48 UTC
Done, closing.