PT-2022-26686 · Gitea+1 · Gitea+1
Govulnbot
·
Published
2022-10-16
·
Updated
2025-05-14
·
CVE-2022-42968
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Gitea versions prior to 1.17.3
Description
The issue concerns the mishandling of arguments to git commands due to insufficient sanitization and escaping of refs in the git backend. This can lead to potential argument injection.
Recommendations
For versions prior to 1.17.3, update to version 1.17.3 or later to resolve the issue. As a temporary workaround, consider restricting access to the git backend to minimize the risk of exploitation.
Fix
Argument Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Gitea