Skip to main content
← All vulnerabilities
CVE-2022-21235GO-2022-0414GHSA-6635-C626-VJ4RSNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078

Command Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.13.3, 1.13.2
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

  1. CVE published
  2. 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

References 2

snyk.io

GitHub · Masterminds/vcs