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