CVE-2022-21235GO-2022-0414GHSA-6635-C626-VJ4RSNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078
Command Injection
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.13.3, 1.13.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- n/a github.com/Masterminds/vcs
fixed in 1.13.3
- github.com/Masterminds/vcsGo
fixed in 1.13.3
- github.com/Masterminds/vcsGo
fixed in 1.13.2