SB2022060803 - Remote command execution in Gitea
Published: June 8, 2022 Updated: November 17, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Input validation error (CVE-ID: CVE-2022-30781)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Green
The 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.
Remediation
Install update from vendor's website.