Description

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.

INFO

Published Date :

July 20, 2020, 6:15 p.m.

Last Modified :

July 27, 2020, 7 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.8

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2020-15123 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2020-15123 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Codecov codecov
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-15123.

URL Resource
https://github.com/advisories/GHSA-5q88-cjfq-g2mh Third Party Advisory
https://github.com/codecov/codecov-node/commit/c0711c656686e902af2cd92d6aecc8074de4d83d Patch Third Party Advisory
https://github.com/codecov/codecov-node/pull/180 Third Party Advisory
https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v Third Party Advisory
https://lgtm.com/query/7714424068617023832 Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

JavaScript

Updated: 3 years, 10 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 1, 2020, 9:45 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-15123 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-15123 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 27, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
    Changed Reference Type https://github.com/advisories/GHSA-5q88-cjfq-g2mh No Types Assigned https://github.com/advisories/GHSA-5q88-cjfq-g2mh Third Party Advisory
    Changed Reference Type https://github.com/codecov/codecov-node/commit/c0711c656686e902af2cd92d6aecc8074de4d83d No Types Assigned https://github.com/codecov/codecov-node/commit/c0711c656686e902af2cd92d6aecc8074de4d83d Patch, Third Party Advisory
    Changed Reference Type https://github.com/codecov/codecov-node/pull/180 No Types Assigned https://github.com/codecov/codecov-node/pull/180 Third Party Advisory
    Changed Reference Type https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v No Types Assigned https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v Third Party Advisory
    Changed Reference Type https://lgtm.com/query/7714424068617023832 No Types Assigned https://lgtm.com/query/7714424068617023832 Exploit, Third Party Advisory
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:a:codecov:codecov:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.7.1
  • CVE Modified by [email protected]

    Jul. 20, 2020

    Action Type Old Value New Value
    Changed Description 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. 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.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-15123 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.60 }} 0.47%

score

0.85687

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability