CVE-2023-30581

HIGHCVSS 7.5/10EPSS 1.05%

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
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS Probability
1.05%

59.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
NodejsNode.Js>= 16.0.0, < 16.20.1
NodejsNode.Js>= 18.0.0, < 18.16.1
NodejsNode.Js>= 20.0.0, < 20.3.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-30581?
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
How severe is CVE-2023-30581?
CVE-2023-30581 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.05% probability of exploitation in the next 30 days.
How do I fix CVE-2023-30581?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-30581?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST