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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-1643 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.
Github GHSA Github GHSA GHSA-6635-c626-vj4r Command Injection Vulnerability with Mercurial in VCS
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

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

cve-icon OpenCVE Enrichment

No data.