CVE-2023-32006
Last modified
CVE-2023-32006 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 1.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 16.0.0, <= 16.20.1 |
| Nodejs | Node.Js | >= 18.0.0, <= 18.17.0 |
| Nodejs | Node.Js | >= 20.0.0, <= 20.5.0 |
| Fedoraproject | Fedora | 37 |
| Fedoraproject | Fedora | 38 |
References
- https://hackerone.com/reports/2043807Issue Tracking
- https://hackerone.com/reports/2043807Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-32006?
How severe is CVE-2023-32006?
How do I fix CVE-2023-32006?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-32000A Cross-Site Scripting (XSS) vulnerability found in UniFi Ne…4.8
- CVE-2023-32001Rejected reason: We issued this CVE pre-maturely, as we have…
- CVE-2023-32002The use of `Module._load()` can bypass the policy mechanism …9.8
- CVE-2023-32003`fs.mkdtemp()` and `fs.mkdtempSync()` can be used to bypass …5.3
- CVE-2023-32004A vulnerability has been discovered in Node.js version 20, s…8.8
- CVE-2023-32005A vulnerability has been identified in Node.js version 20, a…5.3
- CVE-2023-32007** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers t…8.8
- CVE-2023-32008Windows Resilient File System (ReFS) Remote Code Execution V…7.8
- CVE-2023-32009Windows Collaborative Translation Framework Elevation of Pri…8.8
- CVE-2023-3201The MStore API plugin for WordPress is vulnerable to Cross-S…4.3
- CVE-2023-32010Windows Bus Filter Driver Elevation of Privilege Vulnerabili…7
- CVE-2023-32011Windows iSCSI Discovery Service Denial of Service Vulnerabil…7.5
Are you affected by CVE-2023-32006?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
