CVE-2023-30583
Reported by hackerone · Published September 7, 2024
fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--allow-fs-read` flag in Node.js 20. This flaw arises from a missing check in the `fs.openAsBlob()` API. Please note that at the time this CVE was issued, the permission model 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 |
|---|---|---|
| node | dhi.docker.com | 20.3.1 |
| nodejs-20 | Chainguard | 20.3.1-r0 |
| node-min | Bitnami | 20.3.1 |
| node | Bitnami | 20.3.1 |
| nodejs-20 | Wolfi | 20.3.1-r0 |
| alpine/nodejs-22 | alpine | 20.3.1 |
| node-min | Bitnami | 20.3.1 |
| alpine/nodejs-20 | alpine | 20.3.1 |
| Node | NodeJS | 20.3.1 |
| node | Bitnami | 20.3.1 |
| node | DHI | 20.3.1 |
| alpine/nodejs-25 | alpine | 20.3.1 |
2 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 | 13.0, 19.0, 4.0 |
| chainguard | nodejs-20 | 0 |
| NodeJS | Node | |
| nodejs | nodejs | 20.0 |
| wolfi | nodejs-20 | 0 |
Timeline
- Jul 20, 2023 PoC Published
- Sep 7, 2024 CVE Published
- Sep 8, 2024 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (10 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-30583
vulnetix vdb fixes CVE-2023-30583
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-30583/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart