CVE-2020-4059
Command injection in mversion
7.3
HIGH
CVSS 3.1
EPSS 2.1%
Description
### Impact This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. ### Patches Patched by version 2.0.0. Previous releases are deprecated in npm. ### Workarounds Make sure to escape git commit messages when using the commitMessage option for the update function.
How to fix CVE-2020-4059
To remediate CVE-2020-4059, upgrade the affected package to a fixed version below.
- —upgrade to 2.0.0 or later
Is CVE-2020-4059 being exploited?
Low — EPSS is 2.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |