CVE-2020-28429 Command Injection
Attackers can execute arbitrary commands via the geojson2kml npm library due to improper input handling in index.js.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-28429?
CVE-2020-28429 is a high-severity command injection vulnerability in geojson2kml, published on 23 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of package geojson2kml are vulnerable to Command Injection via the index.js file. PoC: var a =require("geojson2kml"); a("./","& touch JHU",function(){})
Weakness: CWE-78
Which versions are affected by CVE-2020-28429?
2 open source packages ship an affected version, including geojson2kml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
geojson2kml npm | All versions to 0.1.1 | None |
geojson2kml npm | All versions to 0.1.1 | None |
Products include Geojson2kml Project Geojson2kml.
How do I fix CVE-2020-28429?
No fix has been published for CVE-2020-28429 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-28429 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-28429 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-w83x-fp72-p9qc.