CVE-2023-32558 Path traversal in Node

High 7.5 Published Updated

Attackers can bypass the experimental permission model in Node.js 20.x via path traversal using the deprecated process.binding API.

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

CVE-2023-32558 is a high-severity path traversal vulnerability in Nodejs Node.js, published on 12 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The use of the deprecated API `process.binding()` can bypass the permission model through path traversal.

This vulnerability affects all users using the experimental permission model in Node.js 20.x.

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

2 open source packages ship an affected version, including node and node-min. It affects 1 product.

PackageAffectedFixed in
node BitnamiFrom 20.0.020.5.1
node-min BitnamiFrom 20.0.020.5.1

Products include Nodejs Node.js.

How do I fix CVE-2023-32558?

Upgrade node to 20.5.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-32558 being exploited?

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

All Nodejs Node.js vulnerabilities

Sources

Also known as BIT-node-2023-32558, BIT-node-min-2023-32558, GHSA-h9p4-9jqg-j34h.

Is CVE-2023-32558 in your software?

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

Check your SBOMs for free