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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | github.com/Masterminds/vcs | >= unspecified, < 1.13.3 |
References
- https://github.com/Masterminds/vcs/pull/105Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078Third Party Advisory
- https://github.com/Masterminds/vcs/pull/105Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078Third Party Advisory
Timeline
- Published
- Apr 1, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified