CWE
88
Advisory Published
Updated

CVE-2022-42968

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 SoftwareAffected VersionHow to fix
Gitea Gitea<1.17.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-42968?

    CVE-2022-42968 is a vulnerability in Gitea before version 1.17.3 that allows for the mishandling of arguments to git commands.

  • How does CVE-2022-42968 affect Gitea?

    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.

  • What is the severity of CVE-2022-42968?

    CVE-2022-42968 has a severity rating of critical with a CVSS score of 9.8.

  • How can I fix the CVE-2022-42968 vulnerability?

    To fix the CVE-2022-42968 vulnerability, upgrade Gitea to version 1.17.3 or later.

  • Are there any references for CVE-2022-42968?

    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)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203