CVE-2022-21235
github.com/Masterminds/vcs: Command Injection via argument injection
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA. Niedriger laut Red Hat (hoch).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/Masterminds/vcs | 1.13.2 |
Referenzen
- https://access.redhat.com/security/cve/CVE-2022-21235
- https://github.com/Masterminds/vcs
- https://github.com/Masterminds/vcs/commit/922a5122330ea8fbe56352a0172ddb6bf019cd22
- https://github.com/Masterminds/vcs/pull/105
- https://github.com/Masterminds/vcs/releases/tag/v1.13.2
- https://github.com/Masterminds/vcs/security/advisories/GHSA-6635-c626-vj4r
- https://nvd.nist.gov/vuln/detail/CVE-2022-21235
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMMASTERMINDSVCS-2437078