CVE-2023-30582
Reported by hackerone · Published September 7, 2024
A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flag is used with a non-* argument. This flaw arises from an inadequate permission model that fails to restrict file watching through the fs.watchFile API. As a result, malicious actors can monitor files that they do not have explicit read access to. 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 | Bitnami | 20.3.1 |
| nodejs-20 | Chainguard | 20.3.1-r0 |
| node | dhi.docker.com | 20.3.1 |
| node-min | Bitnami | 20.3.1 |
| nodejs-20 | Wolfi | 20.3.1-r0 |
| node-min | Bitnami | 20.3.1 |
| nodejs | nodejs | 20.3.1 |
| alpine/nodejs-24 | alpine | 20.3.1 |
| alpine/nodejs-20 | alpine | 20.3.1 |
| alpine/nodejs-25 | alpine | 20.3.1 |
| alpine/nodejs-22 | alpine | 20.3.1 |
| node | DHI | 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 |
| chainguard | nodejs-20 | 0 |
| nodejs | nodejs | 20.0 |
| Node.js | Node.js | |
| NodeJS | Node | 6.0, 8.0, 9.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-30582
vulnetix vdb fixes CVE-2023-30582
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-30582/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart