CVE-2022-42968

CRITICAL

Gitea < 1.17.3 - OS Command Injection via Git Ref Argument Mishandling

Title source: llm
STIX 2.1

Description

Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.

References (3)

Core 3
Core References
Patch, Third Party Advisory
https://github.com/go-gitea/gitea/pull/21463
Release Notes, Third Party Advisory
https://github.com/go-gitea/gitea/releases/tag/v1.17.3
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202210-14

Scores

CVSS v3 9.8
EPSS 0.0105
EPSS Percentile 59.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-88
Status published
Products (2)
gitea/gitea < 1.17.3
go-gitea/gitea 0 - 1.17.3Go
Published Oct 16, 2022
Tracked Since Feb 18, 2026