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 |
---|---|---|
References | () https://github.com/Masterminds/vcs/pull/105 - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078 - Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 6.8
v3 : 8.1 |
08 Apr 2022, 18:10
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-88 | |
CVSS |
v2 : v3 : |
v2 : 6.8
v3 : 9.8 |
CPE | cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:* | |
References | (MISC) https://github.com/Masterminds/vcs/pull/105 - Patch, Third Party Advisory | |
References | (MISC) https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078 - Third Party Advisory |
01 Apr 2022, 16:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
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')