CVE-2023-32002
Reported by hackerone · Published August 21, 2023
The use of `Module._load()` 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| v8-devel | Amazon Linux | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.10 |
| nodejs | Alpine | 18.17.1-r0, 16.20.2-r0 |
| nodejs-libs | Amazon Linux | 1:18.12.1-1.amzn2023.0.10 |
| node-min | Bitnami | 20.5.1, 18.17.1, 16.20.2 |
| nodejs-20 | Wolfi | 20.5.1-r0 |
| nodejs-18 | Chainguard | 18.17.1-r0 |
| nodejs-18 | Wolfi | 18.17.1-r0 |
| nodejs-docs | Amazon Linux | 1:18.12.1-1.amzn2023.0.10 |
| nodejs | Amazon Linux | 1:18.12.1-1.amzn2023.0.10 |
| nodejs-full-i18n | Amazon Linux | 1:18.12.1-1.amzn2023.0.10 |
| npm | Amazon Linux | 1:8.19.2-1.18.12.1.1.amzn2023.0.10 |
| node | dhi.docker.com | 20.5.1, 18.17.1, 16.20.2 |
15 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| nodejs | node.js | |
| amazon:2023 | v8-devel | 0 |
| alpine | nodejs | 0, 0 |
| amazon:2023 | nodejs-libs | 0 |
| NodeJS | Node | 6.0, 7.0, 8.0 |
| wolfi | nodejs-20 | 0 |
| chainguard | nodejs-18 | 0 |
| wolfi | nodejs-18 | 0 |
| nodejs | nodejs | 0, 0, 0 |
| amazon:2023 | nodejs-docs | 0 |
| amazon:2023 | nodejs | 0 |
| amazon:2023 | nodejs-full-i18n | 0 |
| amazon:2023 | npm | 0 |
| amazon:2023 | nodejs-devel | 0 |
| chainguard | nodejs-16 | 0 |
| wolfi | nodejs-16 | 0 |
| chainguard | nodejs-20 | 0 |
Timeline
- Aug 16, 2023 PoC Published (2 in total, the first dated here)
- Aug 21, 2023 CVE Published
- Aug 22, 2023 EPSS Score (30 in total, the first dated here)
- Apr 1, 2026 Security Advisory (20 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-32002
vulnetix vdb fixes CVE-2023-32002
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-32002/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart