CVE-2024-22017
nodejs: setuid() does not drop all privileges due to io_uring
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 19, 2024
Updated · November 21, 2025
Description
A flaw was found in Node.js, where the setuid() does not affect libuv's internal io_uring operations if initialized before the call to setuid(). This issue allows the process to perform privileged operations despite presumably having dropped such privileges through a call to setuid().
Statement
This vulnerability affects all users in active release lines 20.x, and 21.x.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CWE-269 · Improper Privilege Management