Skip to content
This repository was archived by the owner on Nov 28, 2020. It is now read-only.

chore(deps): update devdependency codecov to v3.7.1 [security] - #75

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-codecov-vulnerability
Open

chore(deps): update devdependency codecov to v3.7.1 [security]#75
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-codecov-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Feb 20, 2020

Copy link
Copy Markdown
Contributor

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
codecov 3.5.0 -> 3.7.1 age adoption passing confidence

GitHub Vulnerability Alerts

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 argument is executed by the exec function within lib/codecov.js. This vulnerability exists due to an incomplete fix of CVE-2020-7596.

CVE-2020-15123

Impact

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 was issued: CVE-2020-7597, but the fix was incomplete. It only blocked &, and command injection is still possible using backticks instead to bypass the sanitizer.

We have written a CodeQL query, which automatically detects this vulnerability. You can see the results of the query on the codecov-node project here.

Patches

This has been patched in version 3.7.1

Workarounds

None, however, 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.

References

For more information

If you have any questions or comments about this advisory:


Release Notes

codecov/codecov-node

v3.7.1

Compare Source

  • Move to execFileSync and security fixes

v3.7.0

Compare Source

  • Remove the X-Amz-Acl: public-read header

v3.6.5

Compare Source

v3.6.4

Compare Source

  • Fix Cirrus CI

v3.6.3

Compare Source

  • Fix for AWS Codebuild & package updates

v3.6.2

Compare Source

  • Command line args sanitized fix

v3.6.1

Compare Source

  • Fix for Semaphore

v3.6.0

Compare Source

  • Added AWS CodeBuild and Semaphore2

Renovate configuration

📅 Schedule: "" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate
renovate Bot force-pushed the renovate/npm-codecov-vulnerability branch from 05b681f to 6c2b3a8 Compare May 3, 2020 15:01
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #75 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   47.52%   47.52%           
=======================================
  Files          13       13           
  Lines         364      364           
  Branches       85       85           
=======================================
  Hits          173      173           
  Misses        140      140           
  Partials       51       51           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f69a310...6c2b3a8. Read the comment docs.

@renovate
renovate Bot force-pushed the renovate/npm-codecov-vulnerability branch from 6c2b3a8 to 585c804 Compare July 1, 2020 03:54
@codecov-commenter

codecov-commenter commented Jul 1, 2020

Copy link
Copy Markdown

Codecov Report

Merging #75 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   47.52%   47.52%           
=======================================
  Files          13       13           
  Lines         364      364           
  Branches       85       85           
=======================================
  Hits          173      173           
  Misses        140      140           
  Partials       51       51           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f69a310...d5ee162. Read the comment docs.

@renovate
renovate Bot force-pushed the renovate/npm-codecov-vulnerability branch from 585c804 to 6f71fa6 Compare July 5, 2020 04:59
@renovate
renovate Bot force-pushed the renovate/npm-codecov-vulnerability branch from 6f71fa6 to d5ee162 Compare August 24, 2020 22:01
@renovate renovate Bot changed the title chore(deps): update devdependency codecov to v3.6.5 [security] chore(deps): update devdependency codecov to v3.7.1 [security] Aug 24, 2020
@renovate
renovate Bot force-pushed the renovate/npm-codecov-vulnerability branch from d5ee162 to d804d5c Compare October 27, 2020 23:02
@renovate
renovate Bot force-pushed the renovate/npm-codecov-vulnerability branch from d804d5c to 8932b92 Compare November 27, 2020 00:58
@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #75 (8932b92) into master (f69a310) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   47.52%   47.52%           
=======================================
  Files          13       13           
  Lines         364      364           
  Branches       85       85           
=======================================
  Hits          173      173           
  Misses        140      140           
  Partials       51       51           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f69a310...8932b92. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants