CVE-2022-30781

HIGH

Gitea <1.16.7 - Info Disclosure

Title source: llm

Description

Gitea before 1.16.7 does not escape git fetch remote.

Exploits (3)

exploitdb WORKING POC VERIFIED
by samguy · rubywebappsmultiple
https://www.exploit-db.com/exploits/51009
nomisec WORKING POC 86 stars
by wuhan005 · poc
https://github.com/wuhan005/CVE-2022-30781
metasploit WORKING POC EXCELLENT
by wuhan005, li4n0, krastanoel · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitea_git_fetch_rce.rb

Scores

CVSS v3 7.5
EPSS 0.8073
EPSS Percentile 99.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-116
Status published
Products (2)
code.gitea.io/gitea 0 - 1.16.7Go
gitea/gitea < 1.16.7
Published May 16, 2022
Tracked Since Feb 18, 2026