CVE-2022-21235
Dashboard / Vulnerabilities / CVE-2022-21235
CVE-2022-21235
Published: 1 Apr 2022Last Modified: 12 Aug 2026
Summary: Command Injection
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21235.json, https://nvd.nist.gov/vuln/detail/CVE-2022-21235, https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078, https://github.com/Masterminds/vcs/pull/105
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v1.13.2
v1.13.1
v1.13.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
