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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published: 2022-04-01T15:55:10.738304Z

Updated: 2024-09-17T00:20:56.794Z

Reserved: 2022-02-24T00:00:00

Link: CVE-2022-21235

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-04-01T16:15:07.547

Modified: 2024-11-21T06:44:10.137

Link: CVE-2022-21235

cve-icon Redhat

Severity : Important

Publid Date: 2023-04-01T00:00:00Z

Links: CVE-2022-21235 - Bugzilla