Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2022-30781Improper Encoding or Escaping of Output in Gitea

Severity
7.5HIGHNVD
EPSS
80.7%
top 0.85%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Affected products
Timeline
PublishedMay 16
Latest updateAug 21

Description

Gitea before 1.16.7 does not escape git fetch remote.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

NVDgitea/gitea< 1.16.7
Gocode.gitea.io/gitea< 1.16.7

Patches

🔴Vulnerability Details

3
OSV
Shell command injection in gitea in code.gitea.io/gitea2024-08-21
OSV
Shell command injection in gitea2022-05-17
GHSA
Shell command injection in gitea2022-05-17

💥Exploits & PoCs

2
Exploit-DB
Gitea 1.16.6 - Remote Code Execution (RCE) (Metasploit)2022-09-15
Metasploit
Gitea Git Fetch Remote Code Execution