Severity
8.8HIGH
EPSS
0.1%
top 77.67%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 15
Latest updateJun 10
Description
The use of `module.constructor.createRequire()` 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9
Affected Packages5 packages
Also affects: Fedora 37, 38
🔴Vulnerability Details
5📋Vendor Advisories
4Red Hat▶
nodejs: Permissions policies can impersonate other modules in using module.constructor.createRequire()↗2023-08-09
Microsoft▶
The use of `module.constructor.createRequire()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module.
This vulnerability affects all users usin↗2023-08-08
Debian▶
CVE-2023-32006: nodejs - The use of `module.constructor.createRequire()` can bypass the policy mechanism ...↗2023