CVE-2022-21235

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:*

History

08 Apr 2022, 18:10

Type Values Removed Values Added
First Time Vcs Project
Vcs Project vcs
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 9.8
CPE cpe:2.3:a:vcs_project:vcs:*:*:*:*:*:go:*:*
CWE CWE-88
References (MISC) https://github.com/Masterminds/vcs/pull/105 - (MISC) https://github.com/Masterminds/vcs/pull/105 - Patch, Third Party Advisory
References (MISC) https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078 - (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 : 2023-12-10 14:22


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')