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

🏗 Update dependency codecov to v3.7.1 [SECURITY] #33

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 21, 2020

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
codecov 3.2.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:

CVE-2020-7596

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


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

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 was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Feb 21, 2020

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@d9f6ec1). Learn more about missing BASE report.

Additional details and impacted files

@renovate renovate bot changed the title 🏗 Update dependency codecov to v3.6.5 [SECURITY] 🏗 Update dependency codecov to v3.6.5 [SECURITY] Mar 14, 2020
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from e1e7be9 to d144f85 Compare May 3, 2020 11:00
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from d144f85 to 5dfbcdd Compare July 1, 2020 05:58
@renovate renovate bot changed the title 🏗 Update dependency codecov to v3.6.5 [SECURITY] 🏗 Update dependency codecov to v3.6.5 [SECURITY] Jul 1, 2020
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 5dfbcdd to ed1ba69 Compare July 10, 2020 09:57
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from ed1ba69 to d424acb Compare August 24, 2020 20:59
@renovate renovate bot changed the title 🏗 Update dependency codecov to v3.6.5 [SECURITY] 🏗 Update dependency codecov to v3.7.1 [SECURITY] Aug 24, 2020
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from d424acb to 07fc447 Compare October 28, 2020 11:59
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 07fc447 to 6b4ff11 Compare November 26, 2020 20:51
@renovate renovate bot changed the title 🏗 Update dependency codecov to v3.7.1 [SECURITY] 🏗 Update dependency codecov to v3.7.1 [SECURITY] Nov 26, 2020
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 6b4ff11 to 8fadc3e Compare December 8, 2020 08:58
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 8fadc3e to 51197f8 Compare January 7, 2021 00:59
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 51197f8 to 4aa814d Compare April 26, 2021 14:53
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 4aa814d to 035445b Compare May 9, 2021 22:46
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 035445b to 504ebf0 Compare March 7, 2022 10:03
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 504ebf0 to c366a59 Compare March 26, 2022 15:29
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from c366a59 to 275b417 Compare April 24, 2022 21:34
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 275b417 to ec12f7f Compare June 18, 2022 18:34
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch 2 times, most recently from 31917cb to ac6b79c Compare March 24, 2023 17:59
@renovate renovate bot changed the title 🏗 Update dependency codecov to v3.7.1 [SECURITY] 🏗 Update dependency codecov to v3.6.2 [SECURITY] Apr 17, 2023
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from ac6b79c to 5af5e9a Compare April 17, 2023 11:30
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 5af5e9a to 45a3b01 Compare May 28, 2023 10:39
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 45a3b01 to a53f13f Compare July 6, 2023 10:23
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch 2 times, most recently from 95543b5 to 7b1931e Compare August 27, 2023 10:15
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 7b1931e to 3dcf71b Compare June 4, 2024 14:26
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 3dcf71b to dfe66fb Compare August 6, 2024 08:52
@renovate renovate bot changed the title 🏗 Update dependency codecov to v3.6.2 [SECURITY] 🏗 Update dependency codecov to v3.7.1 [SECURITY] Aug 6, 2024
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from dfe66fb to 6cdd1dd Compare October 9, 2024 10:25
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 6cdd1dd to 0efe541 Compare January 23, 2025 17:07
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.

0 participants