CVE-2024-22017: setuid() does not drop all privileges due to io_uring

Published Feb 14, 2024
·
Updated

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

10 affected componentsFixes available
redhat/nodejs<20.11.1
20.11.1
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP3
Microsoft azl3 nodejs 20.10.0-2
Microsoft azl3 libuv 1.46.0-1
Microsoft azl3 nodejs 20.14.0-1
Microsoft azl3 libuv 1.48.0-1
Node.js Node.js>=20.0.0<20.11.1, >=21.0.0<21.6.2
20.11.121.6.2
Node.js Node.js>=20.0.0<20.11.1
20.11.1
Node.js Node.js>=21.0.0<21.6.2
21.6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/nodejs to a version that resolves this vulnerability.

    Fixed in 20.11.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.11.1Fixed in 21.6.2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.11.1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 21.6.2

Event History

Feb 14, 2024
CVE Published
via Node.js·03:30 PM
Data Sourced
via Node.js·03:30 PM
DescriptionSeverity
Data Sourced
via Node.js·05:35 PM
Affected Software
Feb 23, 2024
Data Sourced
via Red Hat·07:47 PM
DescriptionSeverityAffected Software
Mar 19, 2024
CVE Published
via MITRE·04:32 AM
Data Sourced
via MITRE·04:32 AM
DescriptionSeverity
Data Sourced
via NVD·05:15 AM
DescriptionSeverity
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Aug 15, 2024
Data Sourced
via NVD·07:35 PM
Weakness
Dec 17, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jan 12, 2025
Exploit Published
via GitHub·01:40 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

What are the potential impacts of CVE-2024-22017?

Exploitation of CVE-2024-22017 could lead to unauthorized privileged operations on the affected system.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203