VDB

CVE-2023-30582

CVE-2023-30582 PUBLISHED CVSS 5.3 MEDIUM

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.

PackageEcosystemFixed in
nodeBitnami20.3.1
nodejs-20Chainguard20.3.1-r0
nodedhi.docker.com20.3.1
node-minBitnami20.3.1
nodejs-20Wolfi20.3.1-r0
node-minBitnami20.3.1
nodejsnodejs20.3.1
alpine/nodejs-24alpine20.3.1
alpine/nodejs-20alpine20.3.1
alpine/nodejs-25alpine20.3.1
alpine/nodejs-22alpine20.3.1
nodeDHI20.3.1

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
NodeJSNode4.0, 5.0, 6.0
chainguardnodejs-200
nodejsnodejs20.0
Node.jsNode.js
NodeJSNode6.0, 8.0, 9.0
wolfinodejs-200

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›