Vulnerability · Published Aug 21, 2023 · Assigned by hackerone

CVE-2023-32002

Critical 9.8

In plain English

A critical-severity authentication bypass in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.6%top 24.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The use of `Module._load()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:18.17.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5362
AlmaLinux:8nodejs1:16.20.2-2.module_el8.8.0+3614+204d6f43ALSA-2023:5360
AlmaLinux:9nodejs1:16.20.2-1.el9_2ALSA-2023:5532
AlmaLinux:9nodejs1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux:8nodejs-devel1:16.20.2-2.module_el8.8.0+3614+204d6f43ALSA-2023:5360
AlmaLinux:8nodejs-devel1:18.17.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5362
AlmaLinux:9nodejs-devel1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux:8nodejs-docs1:18.17.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5362
AlmaLinux:8nodejs-docs1:16.20.2-2.module_el8.8.0+3614+204d6f43ALSA-2023:5360
AlmaLinux:9nodejs-docs1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux:9nodejs-docs1:16.20.2-1.el9_2ALSA-2023:5532
AlmaLinux:8nodejs-full-i18n1:16.20.2-2.module_el8.8.0+3614+204d6f43ALSA-2023:5360
AlmaLinux:8nodejs-full-i18n1:18.17.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5362
AlmaLinux:9nodejs-full-i18n1:16.20.2-1.el9_2ALSA-2023:5532
AlmaLinux:9nodejs-full-i18n1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux:9nodejs-libs1:16.20.2-1.el9_2ALSA-2023:5532
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.8.0+3614+204d6f43ALSA-2023:5360
AlmaLinux:8nodejs-nodemon3.0.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5362
AlmaLinux:9nodejs-nodemon3.0.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux:8nodejs-packaging2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:5362
AlmaLinux:8nodejs-packaging26-1.module_el8.8.0+3614+204d6f43ALSA-2023:5360
AlmaLinux:9nodejs-packaging2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:5363
AlmaLinux:8nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:5362
AlmaLinux:9nodejs-packaging-bundler2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:5363
AlmaLinux:8npm1:9.6.7-1.18.17.1.1.module_el8.8.0+3613+1ed8c91dALSA-2023:5362
AlmaLinux:8npm1:8.19.4-1.16.20.2.2.module_el8.8.0+3614+204d6f43ALSA-2023:5360
AlmaLinux:9npm1:8.19.4-1.16.20.2.1.el9_2ALSA-2023:5532
AlmaLinux:9npm1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5ALSA-2023:5363
Alpine:v3.20nodejs18.17.1-r0ALPINE-CVE-2023-32002
Alpine:v3.21nodejs18.17.1-r0ALPINE-CVE-2023-32002
Alpine:v3.22nodejs18.17.1-r0ALPINE-CVE-2023-32002
Alpine:v3.23nodejs18.17.1-r0ALPINE-CVE-2023-32002
Alpine:v3.24nodejs18.17.1-r0ALPINE-CVE-2023-32002
Debian:12nodejs18.19.0+dfsg-6~deb12u1DSA-5589-1
Debian:12nodejs18.19.0+dfsg-6~deb12u1DEBIAN-CVE-2023-32002
Debian:13nodejs18.13.0+dfsg1-1.1DEBIAN-CVE-2023-32002
Debian:14nodejs18.13.0+dfsg1-1.1DEBIAN-CVE-2023-32002
Rocky Linux:9nodejs1:16.20.2-1.el9_2RLSA-2023:5532
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2023:5360
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1667+4a788d89RLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1823+b5789597RLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1935+d3cbe60fRLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2023:5362
Rocky Linux:8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2023:5362
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32045+2e5d342dRLSA-2023:5363
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32143+ae966e5bRLSA-2023:5363
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32144+1d29a396RLSA-2023:5363
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32185+bd121a25RLSA-2023:5363
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.5.0+31770+0da7192dRLSA-2023:5363
Rocky Linux:9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32322+a8b1fd01RLSA-2023:5363
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1667+4a788d89RLSA-2023:5362
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1823+b5789597RLSA-2023:5362
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1824+532140eeRLSA-2023:5362
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.9.0+1419+1f26ef47RLSA-2023:5362
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1989+e60144d9RLSA-2023:5362
Rocky Linux:8nodejs-packaging0:26-1.module+el8.9.0+1760+903d54b9RLSA-2023:5360
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1924+614dc87fRLSA-2023:5362
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.10.0+1988+437f3d23RLSA-2023:5362
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.6.0+32045+2e5d342dRLSA-2023:5363
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.6.0+32143+ae966e5bRLSA-2023:5363
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.6.0+32144+1d29a396RLSA-2023:5363
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.6.0+32185+bd121a25RLSA-2023:5363
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.6.0+32322+a8b1fd01RLSA-2023:5363
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.5.0+31770+0da7192dRLSA-2023:5363
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.6.0+32048+5323bb50RLSA-2023:5363
Ubuntu:22.04:LTSnodejs12.22.9~dfsg-1ubuntu3.6UBUNTU-CVE-2023-32002
Ubuntu:22.04:LTSnodejs12.22.9~dfsg-1ubuntu3.6USN-6822-1

Affected products (as reported)

VendorProductVersions
NodeJS Node 4.0 – before 4.*5.0 – before 5.*6.0 – before 6.*7.0 – before 7.*8.0 – before 8.*9.0 – before 9.*10.0 – before 10.*11.0 – before 11.*

Weakness: CWE-288 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References