CVE-2020-7596 Improper Neutralization of Special Elements in Output Used by a Downstream Component in Codecov

High 8.8 Published Updated

Remote attackers can execute arbitrary commands via the gcov-args argument in the Codecov npm module.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-7596?

CVE-2020-7596 is a high-severity command injection vulnerability in codecov npm module, published on 25 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Codecov npm module before 3.6.2 allows remote attackers to execute arbitrary commands via the "gcov-args" argument.

Weakness: CWE-78

Which versions are affected by CVE-2020-7596?

2 open source packages ship an affected version, including codecov. It affects 1 product.

PackageAffectedFixed in
codecov npmAll versions3.6.2
codecov npmAll versions3.6.2

Products include Codecov Nodejs Uploader.

How do I fix CVE-2020-7596?

Upgrade codecov to 3.6.2 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-7596 being exploited?

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

Sources

Also known as GHSA-mh2h-6j8q-x246.

Is CVE-2020-7596 in your software?

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

Check your SBOMs for free