8.1
High
CVE-2022-21235 The package github.com/masterminds/vcs before 1.13.3 are vulnerable to Command Injection via argument injection
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/Masterminds/vcs 1.13 | earliest → < 1.13.3 | 1.13.3 |