CVEvulnerability

CVE-2023-32006

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

Description

The use of `module.constructor.createRequire()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x, and, 20.x. 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.17.0) • nodejs node.js (>= 20.0.0 <= 20.5.0) • fedoraproject fedora 37 • fedoraproject fedora 38

Related

Weakness · CWE (1)

  • CWE-693 Protection Mechanism Failure weakness

References