Risk | Medium |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2022-30781 |
CWE-ID | CWE-20 |
Exploitation vector | Network |
Public exploit | Public exploit code for vulnerability #1 is available. |
Vulnerable software Subscribe |
Gitea Web applications / Modules and components for CMS |
Vendor | The Gitea Authors |
Security Bulletin
This security bulletin contains one medium risk vulnerability.
EUVDB-ID: #VU63998
Risk: Medium
CVSSv3.1: 8.2 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C]
CVE-ID: CVE-2022-30781
CWE-ID:
CWE-20 - Improper input validation
Exploit availability: Yes
DescriptionThe vulnerability allows a remote user to compromise the affected system.
The vulnerability exists due to insufficient validation of user-supplied input when processing git fetch remote command. A remote user can migrate a specially crafted repository to the affected Gitea instance and execute arbitrary code on the system.
Install updates from vendor's website.
Vulnerable software versionsGitea: 1.16.0 - 1.16.6
External linkshttp://blog.gitea.io/2022/05/gitea-1.16.7-is-released/
http://github.com/go-gitea/gitea/pull/19487
http://github.com/go-gitea/gitea/pull/19490
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.