CVE-2020-15123
Summary
| CVE | CVE-2020-15123 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-07-20 18:15:00 UTC |
| Updated | 2020-07-27 19:00:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-78
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| codecov NPM module allows remote attackers to execute arbitrary commands · CVE-2020-7597 · GitHub Advisory Database · GitHub | MISC | github.com | Third Party Advisory |
| Switch from execSync to execFileSync (#180) · codecov/codecov-node@c0711c6 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| Switch from execSync to execFileSync by drazisil · Pull Request #180 · codecov/codecov-node · GitHub | MISC | github.com | Third Party Advisory |
| Problem loading page | MISC | lgtm.com | Exploit, Third Party Advisory |
| Command injection in upload method · Advisory · codecov/codecov-node · GitHub | CONFIRM | github.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 983189 Nodejs (npm) Security Update for codecov (GHSA-xp63-6vf5-xf3v)