PT-2022-20314

CVE-2022-30781

·

Published

2022-05-02

·

Updated

2026-10-01

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions Gitea versions 1.16.6 and prior
Description The issue is related to the improper handling of git fetch, allowing for shell command injection. This is due to the lack of escaping for the git fetch remote. There is no information provided about the estimated number of potentially affected devices worldwide or real-world incidents where this issue was exploited.
Recommendations For Gitea versions 1.16.6 and prior, update to version 1.16.7 or later to resolve the issue. As a temporary workaround, consider restricting access to the git fetch remote functionality until a patch is available. Avoid using the git fetch remote command in the affected versions until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-P5F9-C9J9-G8QX
ALT-PU-2022-1808
ALT-PU-2022-1884
ALT-PU-2022-3074
BIT-GITEA-2022-30781
CLEANSTART-2025-TF34768
GO-2022-0450
Found an issue in the description? Have something to add? Feel free to write us 👾