CVE-2023-30583 Security feature bypass in Node

High 7.5 Published Updated

Attackers can bypass the experimental Node.js permission model to read files when using the fs.openAsBlob API with specific flags.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-30583?

CVE-2023-30583 is a high-severity vulnerability in NodeJS Node, published on 7 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--allow-fs-read` flag in Node.js 20. This flaw arises from a missing check in the `fs.openAsBlob()` API.

Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Weakness: CWE-284

Which versions are affected by CVE-2023-30583?

2 open source packages ship an affected version, including node and node-min.

PackageAffectedFixed in
node BitnamiFrom 20.0.020.3.1
node-min BitnamiFrom 20.0.020.3.1

How do I fix CVE-2023-30583?

Upgrade node to 20.3.1 or later.

Is CVE-2023-30583 being exploited?

There is no known exploitation of CVE-2023-30583 in the wild and no public exploit code.

Sources

Also known as BIT-node-2023-30583, BIT-node-min-2023-30583, GHSA-9ccp-4gjg-264g.

Is CVE-2023-30583 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free