CVE-2024-22017
published high CVSS 3.0 · 7.3nodejs: setuid() does not drop all privileges due to io_uring
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NodeJS | — | Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.* · 13.0 to < 13.* · 14.0 to < 14.* · 15.0 to < 15.* · 16.0 to < 16.* · 17.0 to < 17.* · 19.0 to < 19.* · 20.0 to < 20.11.1 · 21.0 to < 21.6.2 · Other versions: unaffected | Affected | Not stated | hackerone |
| nodejs | — | nodejs18.0.0 to < 18.18.0 · 20.0.0 to < 20.4.0 · 21.0.0 to < 21.6.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-544 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 9 | nodejsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejss390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejssrc | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejsx86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:20.11.1-1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.9.0+3731+490e3ce5 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:1687 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:1687 |
| AlmaLinux | 8 | npm | Advisory build | 1:10.2.4-1.20.11.1.1.module_el8.9.0+3775+d8460d35 | ALSA-2024:1687 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:20.11.1-1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.3.0+47+c33bc288 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.3.0+48+1cf146a1 | ALSA-2024:1688 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.3.0+48+1cf146a1 | ALSA-2024:1688 |
| AlmaLinux | 9 | npm | Advisory build | 1:10.2.4-1.20.11.1.1.module_el9.3.0+88+29afeaa2 | ALSA-2024:1688 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-1687 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1 | ELSA-2024-1687 |
| Oracle Linux | 9 | nodejs-develaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-develx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-docsaarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-docsx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 · nodejs · 20b | Advisory build | 1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 · nodejs · 20b | Advisory build | 0:3.0.1-1.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packagingaarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packagingx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packaging-bundleraarch64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | nodejs-packaging-bundlerx86_64 · nodejs · 20b | Advisory build | 0:2021.06-4.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-1688 |
| Oracle Linux | 9 | npmaarch64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Oracle Linux | 9 | npmx86_64 · nodejs · 20b | Advisory build | 1:10.2.4-1.20.11.1.1.module+el9.3.0+90254+3f4d3ee1 | ELSA-2024-1688 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsources390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourcex86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develaarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-devels390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-develx86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-docsnoarch | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18naarch64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18nppc64le | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18ns390x | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-full-i18nx86_64 | Advisory build | 1:20.11.1-1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-nodemonnoarch | Advisory build | 3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-nodemonsrc | Advisory build | 3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-packagingnoarch | Advisory build | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-packagingsrc | Advisory build | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-packaging-bundlernoarch | Advisory build | 2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npmaarch64 | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npmppc64le | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npms390x | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-8 | npmx86_64 | Advisory build | 1:10.2.4-1.20.11.1.1.module+el8.9.0+21380+12032667 | RHSA-2024:1687 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfoaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfoppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfos390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debuginfox86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourceaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourceppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsources390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-debugsourcex86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-develaarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-develppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-devels390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-develx86_64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-docsnoarch | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18naarch64 | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18nppc64le | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
| Red Hat Enterprise Linux | RHEL-9 | nodejs-full-i18ns390x | Advisory build | 1:20.11.1-1.module+el9.3.0+21385+bac43d5a | RHSA-2024:1688 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- hackerone · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NodeJS | Node | 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.* (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.* (affected · semver)17.0 to < 17.* (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.11.1 (affected · semver)21.0 to < 21.6.2 (affected · semver)Default: unaffected | hackerone · cna |
| nodejs | nodejs | 18.0.0 to < 18.18.0 (affected · custom)20.0.0 to < 20.4.0 (affected · custom)21.0.0 to < 21.6.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-250 CWE-250 Execution with Unnecessary Privileges
References
3Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8955ea1f7a893f3d8c3e1d97c539c103dd40799a36ab099838f0949a875f7f00
- Ingested
- 23 Sep 2026, 08:19:14 UTC
- Source record
- Official CVE record