{"id":"GO-2022-0414","revision":"0058a66968c241089a7cd0fa17dfc106","records":[{"revision":"0058a66968c241089a7cd0fa17dfc106","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0414","aliases":["CVE-2022-21235","GHSA-6635-c626-vj4r"],"title":"Command injection in github.com/Masterminds/vcs","description":"Passing untrusted inputs to VCS functions can permit an attacker to execute arbitrary commands.\n\nThe vcs package executes version control commands with user-provided arguments. These arguments can be interpreted as command-line flags, which can be used to perform command injection.","state":0,"publishedAt":"2022-07-01T20:08:17+00:00","modifiedAt":"2026-03-16T03:10:58.658242+00:00","affected":[{"ecosystem":"Go","name":"github.com/Masterminds/vcs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.13.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/Masterminds/vcs/pull/105"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0414","license":"OSV · upstream source license applies","key":"osv:GO-2022-0414","identifiers":["GO-2022-0414","CVE-2022-21235","GHSA-6635-c626-vj4r"]},"retained":false,"historicalAffected":[]}],"coverage":[]}