jtimberlake / rei-cedar

Welcome to the REI Digital Design System presentation framework. A home for modular components based on our evolving design patterns.
https://rei.github.io/rei-cedar-docs/
MIT License
0 stars 0 forks source link

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

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 4 years ago

CVE-2020-15123 - High Severity Vulnerability

Vulnerable Library - codecov-3.6.5.tgz

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

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

Path to dependency file: rei-cedar/package.json

Path to vulnerable library: rei-cedar/node_modules/codecov/package.json

Dependency Hierarchy: - :x: **codecov-3.6.5.tgz** (Vulnerable Library)

Found in base branch: next

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: https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v

Release Date: 2020-07-20

Fix Resolution: codecov - 3.7.1


:rescue_worker_helmet: Automatic Remediation is available for this issue

mend-for-github-com[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.