CVEvulnerability

CVE-2023-30581

7.5 HIGH Published 2023-11-23 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-11-23
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-862

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 configurations

• 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)

Related

Weakness · CWE (1)

  • CWE-862 Missing Authorization weakness

References