Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 9, 2021

This PR contains the following updates:

Package Change Age Confidence
codecov 3.6.1 -> 3.7.1 age confidence

GitHub Vulnerability Alerts

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.

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.


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

Configuration

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

🚦 Automerge: Enabled.

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
Copy link
Author

renovate bot commented May 9, 2021

Branch automerge failure

This PR was configured for branch automerge, however this is not possible so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 3c0841b to 569efb9 Compare October 18, 2021 14:58
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 569efb9 to c4430df Compare March 7, 2022 10:36
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from c4430df to f669605 Compare March 26, 2022 15:40
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from f669605 to 9c481c3 Compare June 18, 2022 19:07
@renovate renovate bot changed the title chore(deps): update dependency codecov [security] fix(deps): update dependency codecov to v3.6.5 [security] Mar 24, 2023
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 9c481c3 to 623ea43 Compare August 6, 2024 09:08
@renovate renovate bot changed the title fix(deps): update dependency codecov to v3.6.5 [security] fix(deps): update dependency codecov to v3.7.1 [security] Aug 6, 2024
@renovate renovate bot force-pushed the renovate/npm-codecov-vulnerability branch from 623ea43 to 85fead8 Compare August 10, 2025 13:48
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