codecov @2.3.1
Uploading report to Codecov: https://codecov.io
Maintainers
Keywords
Dependencies (3)
| Package | Constraint | Registry Status |
|---|---|---|
| argv | 0.0.2 | auto_approved |
| request | 2.77.0 | No greenflagged match |
| urlgrey | 0.4.4 | auto_approved |
Dev Dependencies (4)
| Package | Constraint | Registry Status |
|---|---|---|
| mocha | ^3.0.2 | auto_approved |
| jshint | ^2.9.3 | auto_approved |
| istanbul | ^0.4.5 | No greenflagged match |
| expect.js | ^0.3.1 | auto_approved |
Transitive Dependency Tree
Changes from v1.0.1
Dependency Changes
| Change | Package | Version |
|---|---|---|
| removed | execSync | 1.0.2 |
| changed | argv | >=0.0.2 → 0.0.2 |
| changed | request | >=2.42.0 → 2.77.0 |
| changed | urlgrey | >=0.4.0 → 0.4.4 |
File Changes
SAST Findings (4)
CVSS 9.3 (CRITICAL) — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N ### Impact 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 was issued: [CVE-2020-7597](https://github.com/advisories/GHSA-5q88-cjfq-g2mh), but the fix was incomplete. It only blocked `&`, and command injection is still possible using backticks instead to bypass the sanitizer. We have written a [CodeQL](https://codeql.com) query, which automatically detects this vulnerability. You can see the results of the query on the `codecov-node` project [here](https://lgtm.com/query/7714424068617023832/). ### Patches This has been patched in version 3.7.1 ### Workarounds None, however, 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 * [CVE-2020-7597](https://github.com/advisories/GHSA-5q88-cjfq-g2mh) ### For more information If you have any questions or comments about this advisory: * Contact us via our [Security Email](mailto:[email protected])
CVSS 8.8 (HIGH) — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H codecov-node npm module before 3.6.5 allows remote attackers to execute arbitrary commands.The value provided as part of the gcov-root argument is executed by the exec function within lib/codecov.js. This vulnerability exists due to an incomplete fix of CVE-2020-7596.
CVSS 8.8 (HIGH) — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Codecov npm module before 3.6.2 allows remote attackers to execute arbitrary commands via the "gcov-args" argument.
Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
Review Summary
Risk score: 100 (capped from 103). Findings: 1 critical (+40), 2 high (+50), 1 medium (+10), 1 low (+3), 3 info (+0).
Commit: 4e5854e21388 Browse source
Published to npm: