CVE-2023-30584 Path traversal in Node

High 7.7 Published Updated

Attackers can bypass file permission checks in Node.js experimental permission model to access restricted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-30584?

CVE-2023-30584 is a high-severity path traversal vulnerability in NodeJS Node, published on 7 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improper handling of path traversal bypass when verifying file permissions.

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

Weakness: CWE-22

Which versions are affected by CVE-2023-30584?

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-30584?

Upgrade node to 20.3.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-30584 being exploited?

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

Sources

Also known as BIT-node-2023-30584, BIT-node-min-2023-30584, GHSA-jpgc-8hrm-hvwj.

Is CVE-2023-30584 in your software?

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

Check your SBOMs for free