CVE-2023-30582
published medium CVSS 3.1 · 5.3nodejs: fs.watchFile bypass in experimental permission model
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NodeJS | — | Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.* · 13.0 to < 13.* · 14.0 to < 14.* · 15.0 to < 15.* · 17.0 to < 17.* · 19.0 to < 19.* · 20.0 to < 20.3.1 · Other versions: unaffected | Affected | Not stated | hackerone |
| nodejs | — | nodejs20.0 to < 20.3.1 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | corepack20aarch64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | corepack20ppc64le | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | corepack20s390x | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | corepack20x86_64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20aarch64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20ppc64le | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20s390x | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20x86_64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-develaarch64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-develppc64le | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-devels390x | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-develx86_64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-docsaarch64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-docsppc64le | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-docss390x | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs20-docsx86_64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | npm20aarch64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | npm20ppc64le | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | npm20s390x | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | npm20x86_64 | Advisory build | 20.3.1-1.1 | OPENSUSE-SU-2024:13021-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NodeJS | Node | 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.* (affected · semver)15.0 to < 15.* (affected · semver)17.0 to < 17.* (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.3.1 (affected · semver)Default: unaffected | hackerone · cna |
| nodejs | nodejs | 20.0 to < 20.3.1 (affected · semver)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-284 CWE-284 Improper Access Control
References
2Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fa15dbfe53a3c72cd4a40943ee416d47a05f3b583f4530db6bb065be9a36bd7f
- Ingested
- 23 Sep 2026, 08:08:27 UTC
- Source record
- Official CVE record