cve.bz

CVE-2022-21235

9.8 criticalEPSS 1.6%

Critical (9.8) in vcs project vcs. EPSS 1.6% chance of exploitation in the next 30 days. Fixed in github.com/Masterminds/vcs 1.13.2, 1.13.3.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% chance of exploitation in the next 30 days; higher than 75% of CVEs (scores of 2026-10-31)
CWE
CWE-88
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6635-c626-vj4rGogithub.com/Masterminds/vcs<1.13.21.13.2
GO-2022-0414Gogithub.com/Masterminds/vcs<1.13.31.13.3

References

Check your stackJSON