Vulnerability in Vcs Project
CVE-2022-21235
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.016, 76.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Vcs Project
- Github.com/masterminds/vcs — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, dellalibera/dellalibera). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078 (Third Party Advisory)
- github.com/Masterminds/vcs/pull/105 (Patch, Third Party Advisory)