Skip to content
OpenAdvisories
High · 8.1 CVE-2022-21235 EUVD-2022-1643GHSA-6635-c626-vj4rGO-2022-0414SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078

Command Injection

Published Apr 1, 2022 · Updated Sep 17, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— github.com/Masterminds/vcs unspecified – < 1.13.3 1.13.3

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/Masterminds/vcs < 1.13.2 1.13.2 GHSA-6635-c626-vj4r
Go github.com/Masterminds/vcs < 1.13.3 1.13.3 GO-2022-0414

Advisories 1

References