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
History

No history.

cve-icon 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

cve-icon 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

cve-icon Redhat Information

No data.

CWE