What’s Vulnerable › Vulnerabilities
CVE-2022-42968
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-10-16 · updated 2026-06-17
- Weakness: CWE-88
Description
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
Affected products
- Gitea Open Source Git Server: before 1.17.3 — fixed in 1.17.3
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.17.3. Check the vendor advisory for mitigations.
References
- https://github.com/go-gitea/gitea/pull/21463
- https://github.com/go-gitea/gitea/releases/tag/v1.17.3
- https://security.gentoo.org/glsa/202210-14
- https://github.com/go-gitea/gitea/pull/21463
- https://github.com/go-gitea/gitea/releases/tag/v1.17.3
- https://security.gentoo.org/glsa/202210-14
Get alerted when CVE-2022-42968 or the next vulnerability affects your stack