CVE-2020-15123
Codecov Command Injection Vulnerability
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 :
Nov. 21, 2024, 5:04 a.m.
Source :
[email protected]
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.
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 |
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
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/advisories/GHSA-5q88-cjfq-g2mh Added Reference https://github.com/codecov/codecov-node/commit/c0711c656686e902af2cd92d6aecc8074de4d83d Added Reference https://github.com/codecov/codecov-node/pull/180 Added Reference https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v Added Reference https://lgtm.com/query/7714424068617023832 -
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.
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)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-15123
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.19 }} -3.08%
score
0.38171
percentile