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 : Analyzed

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

Modified: 2022-04-08T18:10:24.070

Link: CVE-2022-21235

cve-icon Redhat

Severity : Important

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

Links: CVE-2022-21235 - Bugzilla