CVE-2022-21235
High
Description
The package github.com/masterminds/vcs before 1.13.3 are vulnerable to Command Injection via argument injection. When hg is executed, argument strings are passed to hg in a way that additional flags can be set. The additional flags can be used to perform a command injection.
SeverityHigh
CVSS8.1
Exploit probability—
ProductGithub.com/masterminds/vcs
PublishedApr 1, 2022
First seenApr 1, 2022
How to fix
Update
- github.com/Masterminds/vcs1.13.2, 1.13.3 or later
- vcs_project vcs1.1.13 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/Masterminds/vcsGo | v < 1.13.2, v < 1.13.3 | 1.13.2, 1.13.3 |
| vcs_project vcs | v < 1.1.13 | 1.1.13 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.