Skip to content

codecov NPM module allows remote attackers to execute arbitrary commands

High severity GitHub Reviewed Published Feb 19, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm codecov (npm)

Affected versions

< 3.6.5

Patched versions

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.

References

Reviewed Feb 18, 2020
Published to the GitHub Advisory Database Feb 19, 2020
Last updated Jan 9, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-7597

GHSA ID

GHSA-5q88-cjfq-g2mh

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.