CVE Explore

RCE in Codecov

CVE-2020-15123

CVSS v3
9.3 Critical
Public exploits
None known
EPSS
0.038 · 90.3th percentile
Published
2020-07-20

What to do

Fixed in
3.7.1
Affected
2 affected products

In codecov (npm package) before version 3.7.1 the upload method has a command injection vulnerability. Clients of the codecov-node library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. A similar CVE (CVE-2020-7597 for GHSA-5q88-cjfq-g2mh) was issued but the fix was incomplete. It only blocked &, and command injection is still possible using backticks instead to bypass the sanitizer. The attack surface is low in this case. Particularly in the standard use of codecov, where the module is used directly in a build pipeline, not built against as a library in another application that may supply malicious input and perform command injection.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
Required UI:R
Scope
Changed S:C
Confidentiality
High C:H
Integrity
High I:H
Availability
None A:N

EPSS exploit prediction

EPSS 0.038, 90.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (ossf-cve-benchmark/CVE-2020-15123). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References