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

chore(deps): update dependency codecov to v3.7.1 [security] #675

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 22, 2020

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
codecov 3.0.2 -> 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 (codecov)

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

v3.5.0

Compare Source

  • Added TeamCity support

v3.4.0

Compare Source

  • Added Heroku CI support

v3.3.0

Compare Source

  • Added pipe with --pipe, -l

v3.2.0

Compare Source

  • Added azure pipelines
    .

v3.1.0

Compare Source

  • Custom yaml file. Allow codecov token from yml file.

v3.0.4

Compare Source

  • Security fixes

v3.0.3

Compare Source

  • Support non-git/hg root dirs

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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from evenchange4 as a code owner February 22, 2020 06:59
@michaelhsu-bot
Copy link
Collaborator

Warnings
⚠️

Please add a label to your PR.

⚠️

Please assign someone to merge this PR, and optionally include people who should review.

⚠️

Changes were made to package.json, but not to licenses.csv - Perhaps you need to run $ yarn run license?

Generated by 🚫 dangerJS

@codecov
Copy link

codecov bot commented Feb 22, 2020

Codecov Report

Base: 83.77% // Head: 83.77% // No change to project coverage 👍

Coverage data is based on head (f0db7f2) compared to base (ae921c2).
Patch has no changes to coverable lines.

❗ Current head f0db7f2 differs from pull request most recent head f0bf73e. Consider uploading reports for the commit f0bf73e to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #675   +/-   ##
=======================================
  Coverage   83.77%   83.77%           
=======================================
  Files         326      326           
  Lines        2694     2694           
  Branches      174      174           
=======================================
  Hits         2257     2257           
  Misses        372      372           
  Partials       65       65           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@evenchange4
Copy link
Member

evenchange4 commented Feb 22, 2020

Deploy preview for mcs-lite-introduction ready!

Built with commit 0563eb2

https://deploy-preview-675--mcs-lite-introduction.netlify.app

@evenchange4
Copy link
Member

evenchange4 commented Feb 22, 2020

Deploy preview for mcslite ready!

Built with commit 0563eb2

https://deploy-preview-675--mcslite.netlify.app

@evenchange4
Copy link
Member

evenchange4 commented Feb 22, 2020

Deploy preview for mcs-lite-ui ready!

Built with commit 0563eb2

https://deploy-preview-675--mcs-lite-ui.netlify.app

@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from f0db7f2 to 0563eb2 Compare August 27, 2020 12:59
@renovate renovate bot changed the title chore(deps): update dependency codecov to v3.6.5 [security] chore(deps): update dependency codecov to v3.7.1 [security] Aug 27, 2020
@renovate renovate bot changed the title chore(deps): update dependency codecov to v3.7.1 [security] chore(deps): update dependency codecov to v3.7.1 [security] - autoclosed Jun 18, 2022
@renovate renovate bot closed this Jun 18, 2022
@renovate renovate bot deleted the renovate/npm-codecov-vulnerability branch June 18, 2022 23:30
@renovate renovate bot changed the title chore(deps): update dependency codecov to v3.7.1 [security] - autoclosed chore(deps): update dependency codecov to v3.7.1 [security] Jun 23, 2022
@renovate renovate bot reopened this Jun 23, 2022
@renovate renovate bot restored the renovate/npm-codecov-vulnerability branch June 23, 2022 23:05
@renovate renovate bot changed the title chore(deps): update dependency codecov to v3.7.1 [security] chore(deps): update dependency codecov to v3.6.2 [security] Sep 25, 2022
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 0563eb2 to f0bf73e Compare September 25, 2022 19:58
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from f0bf73e to fb85e41 Compare August 6, 2024 06:57
@renovate renovate bot changed the title chore(deps): update dependency codecov to v3.6.2 [security] chore(deps): update dependency codecov to v3.7.1 [security] Aug 6, 2024
Copy link
Contributor Author

renovate bot commented Aug 6, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
[06:57:26.397] INFO (202): Installing tool [email protected]...
[06:57:33.852] WARN (202): Npm error:
npm ERR! weird error 1
[06:57:34.622] ERROR (202): node-gyp update command failed
[06:57:34.622] FATAL (202): Install tool node failed in 8.2s.

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

Successfully merging this pull request may close these issues.

2 participants