CVE-2022-21235 Command Injection
CriticalCVSS 9.8
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Masterminds github.com/Masterminds/vcs(Go) | < 1.13.2; < 1.13.3 | 1.13.2, 1.13.3 | Fixed |
| vcs project vcs | < 1.1.13 | 1.1.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Masterminds github.com/Masterminds/vcs(Go) | < 1.13.2 | 1.13.2 |
| Masterminds github.com/Masterminds/vcs(Go) | < 1.13.3 | 1.13.3 |
| vcs project vcs | < 1.1.13 | 1.1.13 |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch
- github.com product
- github.com
- snyk.io third-party-advisory
- github.com