CVE-2022-42968
gitea: Sanitize and Escape refs in git backend
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Bitnami. Niedriger laut Red Hat (mittel).
Beschreibung
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | gitea | 1.17.3 |
| go::GitHub Security Advisory Go | github.com/go-gitea/gitea | 1.17.3 |
| alpine 3.17 | gitea | 1.17.3-r0 |
| alpine 3.18 | gitea | 1.17.3-r0 |
| alpine 3.19 | gitea | 1.17.3-r0 |
| alpine 3.20 | gitea | 1.17.3-r0 |
| alpine 3.21 | gitea | 1.17.3-r0 |
| alpine 3.22 | gitea | 1.17.3-r0 |
| alpine 3.23 | gitea | 1.17.3-r0 |
| alpine 3.24 | gitea | 1.17.3-r0 |
| alpine edge | gitea | 1.17.3-r0 |
Referenzen
- https://access.redhat.com/security/cve/CVE-2022-42968
- https://github.com/advisories/GHSA-w8xw-7crf-h23x
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/pull/21463
- https://github.com/go-gitea/gitea/releases/tag/v1.17.3
- https://nvd.nist.gov/vuln/detail/CVE-2022-42968
- https://security.gentoo.org/glsa/202210-14
- https://www.cve.org/CVERecord?id=CVE-2022-42968