CVE-2024-22017: setuid() does not drop all privileges due to io_uring
Node.js could allow a local attacker to gain elevated privileges on the system, caused by the failure of setuid() to drop all privileges due to iouring. An attacker could exploit this vulnerability to perform privileged operations.
Other sources
setuid() does not affect libuv's internal iouring operations if initialized before the call to setuid().
This allows the process to perform privileged operations despite presumably having dropped such privileges through a call to setuid().
— Node.Js
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/nodejsto a version that resolves this vulnerability.Fixed in 20.11.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 20.11.1Fixed in 21.6.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 20.11.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 21.6.2
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2024-22017?
CVE-2024-22017 has a high severity due to its potential to allow local attackers to gain elevated privileges.
How do I fix CVE-2024-22017?
To fix CVE-2024-22017, update Node.js to version 20.11.1 or apply the relevant patches for affected IBM Cognos Analytics products.
Who is affected by CVE-2024-22017?
CVE-2024-22017 affects systems running Node.js versions prior to 20.11.1 and specific versions of IBM Cognos Analytics.
What are the potential impacts of CVE-2024-22017?
Exploitation of CVE-2024-22017 could lead to unauthorized privileged operations on the affected system.
Is there a workaround for CVE-2024-22017?
There is no specific workaround for CVE-2024-22017; the recommended action is to apply the latest patches or updates.