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
Link | Resource |
---|---|
https://github.com/Masterminds/vcs/pull/105 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078 | Third Party Advisory |
Configurations
Information
Published : 2022-04-01 09:15
Updated : 2022-04-08 11:10
NVD link : CVE-2022-21235
Mitre link : CVE-2022-21235
JSON object : View
CWE
CWE-88
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Products Affected
vcs_project
- vcs