Auth bypass in Nodejs Node

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

Vulnerability class: Broken Access Control

EPSS: 0.011 (60.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-30581?
CVE-2023-30581 is a high-severity vulnerability in Nodejs Node, classified under Missing Authorization. CVSS score: 7.5/10. Published 2023-11-23.
How severe is CVE-2023-30581?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2023-30581 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.