Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-30582

nodejs: fs.watchFile bypass in experimental permission model

Overview

Published
7 Sep 2024
Modified
17 Jun 2026
Medium CVE
2 Registry packages
6 OS packages
3 Linux distributions
Yes Fix available

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

Packages affected by CVE-2023-30582
EcosystemPackageVulnerableFixed in
Bitnami node >=20.0.0, <20.3.1 20.3.1
Bitnami node-min >=20.0.0, <20.3.1 20.3.1

Open a package to see all its vulnerabilities.

Operating systems · 3 fixes

chainguard 1 release · 1 package

fixed 1
nodejs-20
chainguard fixes for CVE-2023-30582
ReleasePackageFixed in
nodejs-20 20.3.1-r0

openSUSE 1 release · 1 package

fixed 1
corepack20
openSUSE fixes for CVE-2023-30582
ReleasePackageFixed inAdvisory
Tumbleweed corepack20 +4 20.3.1-1.1 openSUSE-SU-2024:13021-1

wolfi 1 release · 1 package

fixed 1
nodejs-20
wolfi fixes for CVE-2023-30582
ReleasePackageFixed in
nodejs-20 20.3.1-r0

References

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.