VULNERABILITY INTELLIGENCE

CVE-2023-32006

CVSS score8.8 HIGH
EPSS probability1.54%
CISA KEVNot currently listed
Published2023-08-15
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • nvd@nist.gov: NVD-CWE-noinfo
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-693

Primary references