CVE-2023-30582
nodejs: fs.watchFile bypass in experimental permission model
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-284
Affected packages · 2
Operating systems · 3 fixes
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs-20 | 20.3.1-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack20 +4 | 20.3.1-1.1 | openSUSE-SU-2024:13021-1 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs-20 | 20.3.1-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-30582
- nodejs.org https://nodejs.org/en/blog/vulnerability/june-2023-security-releases
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-30582
- security.netapp.com https://security.netapp.com/advisory/ntap-20240926-0007/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-30582
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.