Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-15123 (High) detected in codecov-3.5.0.tgz #37

Open
mend-bolt-for-github bot opened this issue Apr 8, 2021 · 0 comments
Open

CVE-2020-15123 (High) detected in codecov-3.5.0.tgz #37

mend-bolt-for-github bot opened this issue Apr 8, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2020-15123 - High Severity Vulnerability

Vulnerable Library - codecov-3.5.0.tgz

Uploading report to Codecov: https://codecov.io

Library home page: https://registry.npmjs.org/codecov/-/codecov-3.5.0.tgz

Path to dependency file: /jest-serializer-functions/package.json

Path to vulnerable library: jest-serializer-functions/node_modules/codecov/package.json

Dependency Hierarchy:

  • codecov-3.5.0.tgz (Vulnerable Library)

Vulnerability Details

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.

Publish Date: 2020-07-20

URL: CVE-2020-15123

CVSS 3 Score Details (9.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-xp63-6vf5-xf3v

Release Date: 2020-07-20

Fix Resolution: codecov - 3.7.1


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants