CVE-2022-21235

Command Injection

Published Apr 1, 2022 CVSS 3.1 · 8.1 High EPSS 1.6% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 12:20 AM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Apr 1, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:25 AM
Severity
Important
Public date
Apr 1, 2023, 12:00 AM