CVE-2023-30581
Last modified
CVE-2023-30581 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js. EPSS estimates a 1.05% chance of exploitation in the next 30 days.
Description
The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20. 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:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | >= 16.0.0, < 16.20.1 |
| Nodejs | Node.Js | >= 18.0.0, < 18.16.1 |
| Nodejs | Node.Js | >= 20.0.0, < 20.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-30581?
How severe is CVE-2023-30581?
How do I fix CVE-2023-30581?
Are you affected by CVE-2023-30581?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
