[security] chore(deps-dev): bump codecov from 3.7.0 to 3.7.1 by dependabot-preview[bot] · Pull Request #38 · SlimIO/Generator
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
... (truncated)