PatchaPalooza

CVE-2023-32006: 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.

CVE-2023-32006 is a vulnerability in 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., rated Important by Microsoft, with a CVSS 3.1 base score of 8.8 (High). An attacker can exploit it remotely over the network, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.54% probability of exploitation activity in the next 30 days, higher than 76% of all scored vulnerabilities. Microsoft released the fix on 20 August 2023, outside Patch Tuesday. It affects 2 products in 1 product family (Mariner).

Key facts

CVE ID
CVE-2023-32006
Severity
High CVSS 8.8
Microsoft severity
Important
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-693
EPSS
1.54% (percentile 76%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
August 2023 Patch Tuesday
Product families
Mariner

CVSS score and vector

Microsoft scores CVE-2023-32006 at 8.8 (temporal 8.8) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh

Frequently asked questions (Microsoft)

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?

One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.

Affected products (2)

Mariner

ProductSecurity updateTypeFixed buildRestart
cbl2 nodejs 16.20.2-2 on CBL Mariner 2.0CBL-Mariner ReleasesSecurity Update16.20.2-2No
cbl2 nodejs18 18.17.1-2 on CBL Mariner 2.0CBL-Mariner ReleasesSecurity Update18.17.1-2No

NIST NVD data

NVD status
Modified
NVD CVSS
8.8 (HIGH)
NVD weakness
CWE-693
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
node.jsfrom 16.0.0, up to and including 16.20.1
node.jsfrom 18.0.0, up to and including 18.17.0
node.jsfrom 20.0.0, up to and including 20.5.0
fedora 37all listed versions
fedora 38all listed versions

References

Revision history

VersionDateDescription
1.0Information published.
1.1Added nodejs to CBL-Mariner 2.0

Sources