Description
setuid() does not affect libuv's internal io_uring 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().
This vulnerability affects all users using version greater or equal than Node.js 18.18.0, Node.js 20.4.0 and Node.js 21.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NodeJS | Node | 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.*, 15.0 – < 15.*, 16.0 – < 16.*, 17.0 – < 17.*, 19.0 – < 19.*, 20.0 – < 20.11.1, 21.0 – < 21.6.2 | 4.* |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | nodejs +3 | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| RHEL 9 | nodejs-nodemon | 3.0.1-1.module+el9.3.0.z+20478+84a9f781 | RHSA-2024:1688 |
| RHEL 9 | nodejs-packaging +1 | 2021.06-4.module+el9.3.0+19518+63aad52d | RHSA-2024:1688 |
| RHEL 9 | npm | 1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| RHEL 8 | nodejs +3 | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| RHEL 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:1687 |
| RHEL 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:1687 |
| RHEL 8 | npm | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | nodejs +3 | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux 9 | nodejs-nodemon | 3.0.1-1.module_el9.3.0+47+c33bc288 | ALSA-2024:1688 |
| AlmaLinux 9 | nodejs-packaging +1 | 2021.06-4.module_el9.3.0+48+1cf146a1 | ALSA-2024:1688 |
| AlmaLinux 9 | npm | 1:10.2.4-1.20.11.1.1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux 8 | nodejs +3 | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux 8 | nodejs-nodemon | 3.0.1-1.module_el8.9.0+3731+490e3ce5 | ALSA-2024:1687 |
| AlmaLinux 8 | nodejs-packaging +1 | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:1687 |
| AlmaLinux 8 | npm | 1:10.2.4-1.20.11.1.1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.5.0+31770+0da7192d | RLSA-2024:1688 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-4.module+el9.5.0+31770+0da7192d | RLSA-2024:1688 |
| Rocky Linux 8 | nodejs | 1:20.11.1-1.module+el8.9.0+1776+addd4aec | RLSA-2024:1687 |
| Rocky Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.8.0+1459+02651ab6 | RLSA-2024:1687 |
| Rocky Linux 8 | nodejs-packaging | 2021.06-4.module+el8.7.0+1072+5b168780 | RLSA-2024:1687 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | nodejs20 | 20.11.1-150500.11.6.1 | SUSE-SU-2024:0643-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs-electron | 29.4.0-1.1 | openSUSE-SU-2024:13972-1 |
| openSUSE Tumbleweed | nodejs20 | 20.11.1-1.1 | openSUSE-SU-2024:13697-1 |
| openSUSE Tumbleweed | nodejs21 | 21.6.2-1.1 | openSUSE-SU-2024:13698-1 |
| openSUSE Leap 15.5 | nodejs20 | 20.11.1-150500.11.6.1 | SUSE-SU-2024:0643-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs20 +4 | 1:20.11.1-1.amzn2023.0.1 | ALAS2023-2024-544 |
| Amazon Linux 2023 | nodejs20-npm | 1:10.2.4-1.20.11.1.1.amzn2023.0.1 | ALAS2023-2024-544 |
| Amazon Linux 2023 | v8-11.3-devel | 3:11.3.244.8-1.20.11.1.1.amzn2023.0.1 | ALAS2023-2024-544 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libuv | 1.48.0-1 | — |
| Azure Linux 3 | nodejs | 20.14.0-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | nodejs +3 | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux 9 | nodejs-packaging +1 | 2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux 9 | npm | 1:10.2.4-1.20.11.1.1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux 8 | nodejs +3 | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux 8 | npm | 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
SpiralBL0CK/cve-2024-22017_to_test ★ 0 · Jan 12, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 17
- ALSA-2024:1688 Important: nodejs:20 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:1687 Important: nodejs:20 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:1688 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- RHSA-2024:1687 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- WID-SEC-2024-0393 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 28, 2026
- RLSA-2024:1687 Important: nodejs:20 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2024:0643-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13698-1 corepack21-21.6.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13972-1 nodejs-electron-29.4.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13697-1 corepack20-20.11.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2024:1688 Important: nodejs:20 security update Rocky Linux Security Advisories · Oct 9, 2025
- NCSC-2024-0433 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Nov 12, 2024
- ICSA-24-319-08 Siemens SINEC INS CISA ICS & IT advisories · Nov 12, 2024
- SSA-915275 SSA-915275: Multiple Vulnerabilities in SINEC INS Before V1.0 SP2 Update 3 Siemens ProductCERT · Nov 12, 2024
- ELSA-2024-1688 Important: nodejs:20 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Apr 8, 2024
- ELSA-2024-1687 Important: nodejs:20 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 8, 2024
- ALAS2023-2024-544 Important: nodejs20 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 13, 2024