CVE-2020-7597
JavaScript vulnerability analysis and mitigation

Overview

The codecov-node npm package versions before 3.6.5 contained a command injection vulnerability (CVE-2020-7597). The vulnerability was discovered and disclosed on February 16, 2020, affecting the package's handling of the gcov-root argument. This vulnerability emerged as a result of an incomplete fix for a previous vulnerability (CVE-2020-7596) (Snyk).

Technical details

The vulnerability exists in the way the package handles the gcov-root argument within lib/codecov.js. The value provided as part of this argument is executed by the exec function without proper sanitization. The issue was later addressed by implementing sanitization that removes ampersand (&) characters from the input (GitHub Commit). The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (high severity) by NVD and 6.5 (medium severity) by Snyk (Snyk).

Impact

The vulnerability could allow remote attackers to execute arbitrary commands on the affected system. This could potentially lead to a total loss of confidentiality, with attackers gaining access to restricted information within the impacted component (Snyk).

Mitigation and workarounds

The recommended mitigation is to upgrade the codecov package to version 3.6.5 or higher, which includes the security fix. The fix implements proper input sanitization to prevent command injection attacks (Snyk).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management