Critical severityNVD Advisory· Published Apr 1, 2022· Updated Sep 17, 2024
Command Injection
CVE-2022-21235
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/Masterminds/vcsGo | < 1.13.2 | 1.13.2 |
Affected products
2- github.com/masterminds/vcsdescription
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-6635-c626-vj4rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-21235ghsaADVISORY
- github.com/Masterminds/vcs/commit/922a5122330ea8fbe56352a0172ddb6bf019cd22ghsaWEB
- github.com/Masterminds/vcs/pull/105ghsax_refsource_MISCWEB
- github.com/Masterminds/vcs/releases/tag/v1.13.2ghsaWEB
- github.com/Masterminds/vcs/security/advisories/GHSA-6635-c626-vj4rghsaWEB
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.