PT-2020-14203
CVE-2020-15123
·
Published
2020-02-19
·
Updated
2020-07-27
Description by
CVSS 3.1
9.3
CriticalMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
codecov versions prior to 3.7.1
codecov-node versions prior to 3.6.5
Description
The issue is related to a command injection vulnerability in the upload method of the codecov package. This vulnerability can be exploited using backticks to bypass the sanitizer, allowing for the execution of arbitrary commands. The attack surface is considered low, particularly when the module is used directly in a build pipeline. However, the vulnerability can still be exploited if malicious input is supplied.
Recommendations
For codecov versions prior to 3.7.1, update to version 3.7.1 or later to resolve the issue.
For codecov-node versions prior to 3.6.5, update to version 3.6.5 or later to resolve the issue.
As a temporary workaround, consider restricting the use of the
gcov-root argument in the lib/codecov.js file to minimize the risk of exploitation.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾