First published: Sun Oct 16 2022(Updated: )
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Gitea Gitea | <1.17.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-42968 is a vulnerability in Gitea before version 1.17.3 that allows for the mishandling of arguments to git commands.
CVE-2022-42968 affects Gitea before version 1.17.3 by not properly sanitizing and escaping refs in the git backend, leading to mishandling of git command arguments.
CVE-2022-42968 has a severity rating of critical with a CVSS score of 9.8.
To fix the CVE-2022-42968 vulnerability, upgrade Gitea to version 1.17.3 or later.
Yes, you can find references for CVE-2022-42968 at the following links: [link1](https://github.com/go-gitea/gitea/pull/21463), [link2](https://github.com/go-gitea/gitea/releases/tag/v1.17.3), [link3](https://security.gentoo.org/glsa/202210-14)