CVE-2020-28429 Command Injection

High 7.3 Published Updated

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.

PackageAffectedFixed in
geojson2kml npmAll versions to 0.1.1None
geojson2kml npmAll versions to 0.1.1None

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.

Is CVE-2020-28429 in your software?

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

Check your SBOMs for free