Skip to content

CVE-2022-21235 Command Injection

CriticalCVSS 9.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Masterminds github.com/Masterminds/vcs(Go) < 1.13.2; < 1.13.3 1.13.2, 1.13.3 Fixed
vcs project vcs < 1.1.13 1.1.13 Fixed

Affected products

ProductAffected versionsFixed in
Masterminds github.com/Masterminds/vcs(Go) < 1.13.2 1.13.2
Masterminds github.com/Masterminds/vcs(Go) < 1.13.3 1.13.3
vcs project vcs < 1.1.13 1.1.13

References