CVE-2020-7614 Command Injection in npm-programmatic

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via unsanitized input in the npm-programmatic library, requiring developers to upgrade to a patched version.

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

CVE-2020-7614 is a critical command injection vulnerability in npm-programmatic, published on 7 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

npm-programmatic through 0.0.12 is vulnerable to Command Injection.The packages and option properties are concatenated together without any validation and are used by the 'exec' function directly.

Weakness: CWE-78, CWE-20

Which versions are affected by CVE-2020-7614?

2 open source packages ship an affected version, including npm-programmatic. It affects 1 product.

PackageAffectedFixed in
npm-programmatic npmAll versions to 0.0.12None
npm-programmatic npmAll versions to 0.0.12None

Products include Npm-Programmatic Project Npm-Programmatic.

How do I fix CVE-2020-7614?

No fix has been published for CVE-2020-7614 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-7614 being exploited?

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

Sources

Also known as GHSA-426h-24vj-qwxf.

Is CVE-2020-7614 in your software?

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

Check your SBOMs for free