CVE-2022-42968: Critical severity Gitea Gitea vulnerability

Published 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.

Affected Software

1 affected component
Gitea Gitea<1.17.3

Event History

Oct 16, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

What is the severity of CVE-2022-42968?

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

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203