CVE-2020-15123

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-15123
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15123.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-15123
Aliases
Related
Published
2020-07-20T18:15:12Z
Modified
2025-01-15T01:42:41.935236Z
Severity
  • 9.3 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/codecov/codecov-node

Affected ranges

Type
GIT
Repo
https://github.com/codecov/codecov-node
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v1.*

v1.0.1

v2.*

v2.0.2
v2.1.0
v2.2.0
v2.3.1

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.1.0
v3.3.0
v3.4.0
v3.6.0
v3.6.1
v3.6.2
v3.6.3
v3.6.4
v3.6.5