CVE-2023-38552
nodejs: integrity checks according to policies can be circumvented
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-345
Affected packages · 2
Operating systems · 87 fixes
Oracle Linux 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:10.1.0-1.20.8.1.1.module+el8.9.0+90082+b6a613a6 |
| 8 | nodejs +3 | 1:20.8.1-1.module+el8.9.0+90082+b6a613a6 |
| 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+90082+b6a613a6 |
| 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+90082+b6a613a6 |
| 9 | nodejs +3 | 1:18.18.2-2.module+el9.2.0+21194+c0bbf6cf |
| 9 | npm | 1:9.8.1-1.18.18.2.2.module+el9.2.0+21194+c0bbf6cf |
2 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 18.20.8-1.ph4 |
| 5.0 | nodejs +1 | 18.18.2-1.ph5 |
Red Hat 7 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-nodejs14-nodejs +4 | wont fix | — |
| 8 (nodejs:16) | nodejs +10 | wont fix | — |
| 8 (nodejs:18) | nodejs-packaging +1 | 0:2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:5869 |
| 8 (nodejs:18) | nodejs-nodemon | 0:3.0.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5869 |
| 8 (nodejs:18) | nodejs +3 | 1:18.18.2-1.module+el8.8.0+20407+c11d40bd | RHSA-2023:5869 |
| 8 (nodejs:18) | npm | 1:9.8.1-1.18.18.2.1.module+el8.8.0+20407+c11d40bd | RHSA-2023:5869 |
10 more rows
SUSE Linux Enterprise 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | nodejs16 +3 | 16.20.2-150400.3.27.2 | SUSE-SU-2023:4155-1 |
| 15.4 | nodejs18 +3 | 18.18.2-150400.9.15.1 | SUSE-SU-2023:4133-1 |
| 15.5 | nodejs18 +3 | 18.18.2-150400.9.15.1 | SUSE-SU-2023:4133-1 |
alma 3 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:18) | nodejs +3 | 1:18.18.2-1.module_el8.8.0+3652+0e111ba0 |
| 8 (nodejs:18) | npm | 1:9.8.1-1.18.18.2.1.module_el8.8.0+3652+0e111ba0 |
| 8 (nodejs:18) | nodejs-packaging +1 | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| 8 (nodejs:18) | nodejs-nodemon | 3.0.1-1.module_el8.8.0+3613+1ed8c91d |
| 8 (nodejs:20) | npm | 1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9 |
| 8 (nodejs:20) | nodejs +3 | 1:20.8.1-1.module_el8.9.0+3675+0258a6d9 |
6 more rows
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nodejs | 18.18.2-r0 |
| 3.22 | nodejs-current | 20.8.1-r0 |
| 3.23 | nodejs | 18.18.2-r0 |
| 3.23 | nodejs-current | 20.8.1-r0 |
| 3.24 | nodejs | 18.18.2-r0 |
| 3.24 | nodejs-current | 20.8.1-r0 |
2 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs +7 | 1:18.18.2-1.amzn2023.0.1 |
| 2023 | nodejs-npm | 1:9.8.1-1.18.18.2.1.amzn2023.0.1 |
| 2023 | v8-10-2-devel | 3:10.2.154.26-1.18.18.2.1.amzn2023.0.1 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs-18 | 18.18.2-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | nodejs | 18.19.0+dfsg-6~deb12u1 |
| 13 | nodejs | 18.13.0+dfsg1-1.1 |
| 14 | nodejs | 18.13.0+dfsg1-1.1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs | 18.19.0+dfsg-6~deb12u1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack20 +4 | 20.8.1-1.1 | openSUSE-SU-2024:13337-1 |
| Tumbleweed | nodejs-electron +2 | 25.9.1-2.1 | openSUSE-SU-2024:13340-1 |
rocky 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:18) | nodejs-packaging +1 | 2021.06-4.module+el8.7.0+1072+5b168780 |
| 8 (nodejs:18) | nodejs-nodemon | 3.0.1-1.module+el8.8.0+1459+02651ab6 |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-4.module+el8.10.0+1667+4a788d89 |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-4.module+el8.10.0+1823+b5789597 |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-4.module+el8.10.0+1824+532140ee |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-4.module+el8.10.0+1924+614dc87f |
19 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-nodejs | 18.19.0+dfsg-6~deb12u1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | nodejs | affected |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs-18 | 18.18.2-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:5849
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7205
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-38552
- bugzilla.redhat.com https://bugzilla.redhat.com/2242803
- bugzilla.redhat.com https://bugzilla.redhat.com/2244104
- bugzilla.redhat.com https://bugzilla.redhat.com/2244415
- bugzilla.redhat.com https://bugzilla.redhat.com/2244418
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2242803
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244104
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244413
Show all 37 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244414
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244415
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244418
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38552
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39331
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39332
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39333
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-44487
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45143
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-5849.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:7205
- github.com https://github.com/nodejs/node/commit/1c538938ccadfd35fbc699d8e85102736cd5945c
- hackerone.com https://hackerone.com/reports/2094235
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-38552.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-7205.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E72T67UPDRXHIDLO3OROR25YAMN4GGW5/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HT7T2R4MQKLIF4ODV4BDLPARWFPCJ5CZ/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6QXN4ORIVF6XBW4WWFE7VNPVC74S45Y/
- nodejs.org https://nodejs.org/en/blog/vulnerability/october-2023-security-releases#integrity-checks-according-to-policies-can-be-circumvented-medium---cve-2023-38552
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-38552
- security.netapp.com https://security.netapp.com/advisory/ntap-20231116-0013/
- security.netapp.com https://security.netapp.com/advisory/ntap-20241108-0002/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-38552
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.