2084AI Security Observatory

CVE

CVE-2023-30581

CVE-2023-30581HIGH 7.5EPSS 65%

CNA 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

Affected versions

All Node.js vulnerabilities →

  • ≥ 20.0.0, < 20.3.1Fixed in 20.3.1
  • ≥ 18.0.0, < 18.16.1Fixed in 18.16.1
  • ≥ 16.0.0, < 16.20.1Fixed in 16.20.1

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.