Skip to content

Update dependency codecov to 3.7.1 [SECURITY]#27

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

Update dependency codecov to 3.7.1 [SECURITY]#27
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-codecov-vulnerability

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 14, 2020

Mend Renovate

This PR contains the following updates:

Package Change
codecov 3.5.0 -> 3.7.1

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:

CVE-2020-7596

Codecov npm module before 3.6.2 allows remote attackers to execute arbitrary commands via the "gcov-args" argument.


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 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 Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Mar 14, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   54.16%   54.16%           
=======================================
  Files           1        1           
  Lines          24       24           
  Branches        3        3           
=======================================
  Hits           13       13           
  Misses         11       11           

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 19bc136...23c5ee0. Read the comment docs.

@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 952f5d8 to 23c5ee0 Compare August 21, 2020 06:57
@renovate renovate bot changed the title Update dependency codecov to v3.6.5 [SECURITY] Update dependency codecov to v3.7.1 [SECURITY] Aug 21, 2020
@renovate renovate bot changed the title Update dependency codecov to v3.7.1 [SECURITY] Update dependency codecov to 3.7.1 [SECURITY] Apr 26, 2021
@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments