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
21 Nov 2024, 06:44
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 6.8
v3 : 8.1 |
References | () https://github.com/Masterminds/vcs/pull/105 - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078 - Third Party Advisory |
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')