CVE-2022-42968
CRITICALCVSS 9.8/10EPSS 1.05%
Last modified
CVE-2022-42968 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.. EPSS estimates a 1.05% chance of exploitation in the next 30 days.
Description
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 1.17.3 |
References
- https://github.com/go-gitea/gitea/pull/21463Patch, Third Party Advisory
- https://github.com/go-gitea/gitea/releases/tag/v1.17.3Release Notes, Third Party Advisory
- https://security.gentoo.org/glsa/202210-14Third Party Advisory
- https://github.com/go-gitea/gitea/pull/21463Patch, Third Party Advisory
- https://github.com/go-gitea/gitea/releases/tag/v1.17.3Release Notes, Third Party Advisory
- https://security.gentoo.org/glsa/202210-14Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-42968?
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
How severe is CVE-2022-42968?
CVE-2022-42968 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.05% probability of exploitation in the next 30 days.
How do I fix CVE-2022-42968?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-42960EqualWeb Accessibility Widget 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.…5.4
- CVE-2022-42961An issue was discovered in wolfSSL before 5.5.0. A fault inj…5.3
- CVE-2022-42964An exponential ReDoS (Regular Expression Denial of Service) …7.5
- CVE-2022-42965An exponential ReDoS (Regular Expression Denial of Service) …7.5
- CVE-2022-42966An exponential ReDoS (Regular Expression Denial of Service) …7.5
- CVE-2022-42967Caret is vulnerable to an XSS attack when the user opens a c…9.6
- CVE-2022-42969The py library through 1.11.0 for Python allows remote attac…7.5
- CVE-2022-4297The WP AutoComplete Search WordPress plugin through 1.0.4 do…9.8
- CVE-2022-42970A CWE-306: Missing Authentication for Critical Function The …9.8
- CVE-2022-42971A CWE-434: Unrestricted Upload of File with Dangerous Type v…9.8
- CVE-2022-42972A CWE-732: Incorrect Permission Assignment for Critical Reso…7.8
- CVE-2022-42973A CWE-798: Use of Hard-coded Credentials vulnerability exist…7.8
Are you affected by CVE-2022-42968?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
