kritisch9.8
CVE-2022-21235
The package github.com/masterminds/vcs before 1.13.3 are vulnerable to Command Injection via argument injection.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/Masterminds/vcs | < 1.13.2 | 1.13.2 |
Betroffene Produkte · Vcs Project
| Produkt | Betroffene Versionen |
|---|---|
| Vcs | vor 1.1.13 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/Masterminds/vcs/pull/105
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078
- https://github.com/advisories/GHSA-6635-c626-vj4r
- https://github.com/Masterminds/vcs/security/advisories/GHSA-6635-c626-vj4r
- https://github.com/Masterminds/vcs/commit/922a5122330ea8fbe56352a0172ddb6bf019cd22
- https://github.com/Masterminds/vcs/releases/tag/v1.13.2
- https://nvd.nist.gov/vuln/detail/CVE-2022-21235