CVE-2023-32558 Path traversal in Node
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.
| Package | Affected | Fixed in |
|---|---|---|
node Bitnami | From 20.0.0 | 20.5.1 |
node-min Bitnami | From 20.0.0 | 20.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.
Other vulnerabilities in Nodejs Node.js
Sources
Also known as BIT-node-2023-32558, BIT-node-min-2023-32558, GHSA-h9p4-9jqg-j34h.