CVE-2023-38552
When the Node.js policy feature checks the integrity of a resource against a trusted manifest, the application can intercept the operation and return a forged checksum to the node's policy implementation, thus effectively disabling the integrity check. Impacts: This vulnerability affects all users using the experimental policy mechanism in all active release lines: 18.x and, 20.x. Please note that at the time this CVE was issued, the policy mechanism is an experimental feature of Node.js.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2023-38552 | |
| Ubuntu 16.04 | nodejs | Fix pending | ||
| Debian 14 | nodejs | Fixed | 18.13.0+dfsg1-1.1 | DEBIAN-CVE-2023-38552 |
| Debian 13 | nodejs | Fixed | 18.13.0+dfsg1-1.1 | DEBIAN-CVE-2023-38552 |
| Debian 12 | nodejs | Fixed | 18.19.0+dfsg-6~deb12u1 | DEBIAN-CVE-2023-38552 |
| Red Hat Enterprise Linux 9 | nodejs | Fixed Affected | 1:18.18.2-2.module+el9.2.0.z+20408+7cb5fda5 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:18.18.2-2.module+el9.2.0.z+20408+7cb5fda5 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed Affected | 1:18.18.2-2.module+el9.2.0.z+20408+7cb5fda5 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed Affected | 1:18.18.2-2.module+el9.2.0.z+20408+7cb5fda5 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.2.0.z+19753+58118bc0 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 9 | npm | Fixed Affected | 1:9.8.1-1.18.18.2.2.module+el9.2.0.z+20408+7cb5fda5 | RHSA-2023:5849 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed Will not fix | 1:20.8.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:5869 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed Will not fix | 1:18.18.2-1.module+el8.8.0+20407+c11d40bd | RHSA-2023:7205 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed Will not fix | 1:20.8.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:5869 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed Will not fix | 1:20.8.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:5869 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed Will not fix | 0:3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:5869 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed Will not fix | 0:2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:7205 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed Will not fix | 0:2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:7205 |
| Red Hat Enterprise Linux 8 | npm | Fixed Will not fix | 1:10.1.0-1.20.8.1.1.module+el8.9.0+20473+c4e3d824 | RHSA-2023:5869 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Will not fix Will not fix | ||
| AlmaLinux 9 | nodejs | Fixed | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:18.18.2-2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5849 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5849 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5849 |
| AlmaLinux 9 | npm | Fixed | 1:9.8.1-1.18.18.2.2.module_el9.2.0+43+3ebc9e20 | ALSA-2023:5849 |
| AlmaLinux 8 | nodejs | Fixed | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:5869 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 | ALSA-2023:7205 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 | ALSA-2023:7205 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:5869 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:7205 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:7205 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2023:5869 |
| AlmaLinux 8 | npm | Fixed | 1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9 | ALSA-2023:5869 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.7.0+40017+f0db1785 | RLSA-2023:5849 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.7.0+40025+0e0cf6b2 | RLSA-2023:5849 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.9.0+1760+903d54b9 | RLSA-2023:5869 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.10.0+1988+437f3d23 | RLSA-2023:5869 |
| Alpine Linux 3.24 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.24 | nodejs-current | Fixed | 20.8.1-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.23 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.23 | nodejs-current | Fixed | 20.8.1-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.22 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.22 | nodejs-current | Fixed | 20.8.1-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.21 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.21 | nodejs-current | Fixed | 20.8.1-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.20 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.20 | nodejs-current | Fixed | 20.8.1-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.19 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.19 | nodejs-current | Fixed | 20.8.1-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.18 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.18 | nodejs-current | Fixed | 20.8.1-r0 | ALPINE-CVE-2023-38552 |
| Alpine Linux 3.17 | nodejs | Fixed | 18.18.2-r0 | ALPINE-CVE-2023-38552 |
What the vendor says
As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NodeJS Node: affected: 4.0 to before 4.*, 5.0 to before 5.*, 6.0 to before 6.*, 7.0 to before 7.*, 8.0 to before 8.*, 9.0 to before 9.*; fixed in
18.18.2,20.8.1
References
- https://hackerone.com/reports/2094235
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E72T67UPDRXHIDLO3OROR25YAMN4GGW5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6QXN4ORIVF6XBW4WWFE7VNPVC74S45Y/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HT7T2R4MQKLIF4ODV4BDLPARWFPCJ5CZ/
- https://security.netapp.com/advisory/ntap-20231116-0013/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.