CVE-2021-3223 Path traversal in Node-RED-Dashboard
An attacker can read arbitrary files from the server via directory traversal in Node-RED Dashboard.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3223?
CVE-2021-3223 is a high-severity path traversal vulnerability in n/a, published on 26 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Node-RED-Dashboard before 2.26.2 allows ui_base/js/..%2f directory traversal to read files.
Weakness: CWE-22
Which versions are affected by CVE-2021-3223?
2 open source packages ship an affected version, including node-red-dashboard. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
node-red-dashboard npm | All versions | 2.26.2 |
node-red-dashboard npm | All versions | 2.26.2 |
Products include Nodered Node-Red-Dashboard.
How do I fix CVE-2021-3223?
Upgrade node-red-dashboard to 2.26.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-3223 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-3223 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
Sources
Also known as GHSA-2hw7-mxvj-m455.