Gum-Joe / 2Keys

A easy to setup second keyboard, designed for everyone.
GNU General Public License v3.0
11 stars 4 forks source link

🚨 [security] Update codecov: 3.6.5 → 3.7.1 (minor) #85

Closed depfu[bot] closed 4 years ago

depfu[bot] commented 4 years ago

🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ codecov (3.6.5 → 3.7.1) · Repo

Security Advisories 🚨

🚨 Command injection in codecov (npm package)

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

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:

Commits

See the full diff on Github. The new version differs by 12 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
codecov[bot] commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@46e3614). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #85   +/-   ##
=========================================
  Coverage          ?   79.17%           
=========================================
  Files             ?        9           
  Lines             ?      341           
  Branches          ?       39           
=========================================
  Hits              ?      270           
  Misses            ?       54           
  Partials          ?       17           
Impacted Files Coverage Δ
src/util/copy-contents.ts 93.42% <0.00%> (ø)
src/util/ahk.ts 82.50% <0.00%> (ø)
src/util/config.ts 90.00% <0.00%> (ø)
src/routes/api.ts 91.22% <0.00%> (ø)
src/oobe/software/zip-downloader.ts 76.78% <0.00%> (ø)
src/util/interfaces.ts 100.00% <0.00%> (ø)
src/util/logger.ts 25.00% <0.00%> (ø)
src/util/constants.ts 100.00% <0.00%> (ø)
src/index.ts 64.00% <0.00%> (ø)

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 46e3614...c0279c3. Read the comment docs.