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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: snyk
Published: 2022-04-01T00:00:00
Updated: 2022-04-01T15:55:10
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-21235
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-04-01T16:15:07.547
Modified: 2022-04-08T18:10:24.070
Link: CVE-2022-21235
JSON object: View
Redhat Information
No data.
CWE