Code.Gitea.Io Gitea vulnerabilities

42 known vulnerabilities affecting code.gitea.io/gitea.

Total CVEs
42
CISA KEV
0
Public exploits
4
Exploited in wild
0
Severity breakdown
CRITICAL5HIGH5MEDIUM17LOW4UNKNOWN11

Vulnerabilities

Page 2 of 3
CVE-2022-42968UNKNOWN≥ 0, < 1.17.32024-08-21
CVE-2022-42968 Gitea vulnerable to Argument Injection in code.gitea.io/gitea Gitea vulnerable to Argument Injection in code.gitea.io/gitea Gitea vulnerable to Argument Injection in code.gitea.io/gitea
osv
CVE-2024-6886CRITICALPoC≥ 0, < 1.22.12024-08-06
CVE-2024-6886 [CRITICAL] CWE-79 Gitea Cross-site Scripting Vulnerability Gitea Cross-site Scripting Vulnerability Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.
ghsaosv
CVE-2021-3382UNKNOWN≥ 1.9.0, < 1.13.22024-06-04
CVE-2021-3382 Buffer Overflow in gitea in code.gitea.io/gitea Buffer Overflow in gitea in code.gitea.io/gitea Buffer Overflow in gitea in code.gitea.io/gitea
osv
CVE-2020-14144HIGHPoC≥ 1.1.0, < 1.12.62024-04-22
CVE-2020-14144 [HIGH] CWE-78 Arbitrary Code Execution in Gitea Arbitrary Code Execution in Gitea The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.
ghsaosv
CVE-2022-38795MEDIUM≥ 0, < 1.17.22023-08-07
CVE-2022-38795 [MEDIUM] Gitea erroneous repo clones Gitea erroneous repo clones In Gitea through 1.17.1, repo cloning can occur in the migration function.
ghsaosv
CVE-2023-3515LOW≥ 0, < 1.19.42023-07-05
CVE-2023-3515 [LOW] CWE-601 code.gitea.io/gitea Open Redirect vulnerability code.gitea.io/gitea Open Redirect vulnerability Open Redirect in GitHub repository go-gitea/gitea prior to 1.19.4. This is most likely a post-auth redirect plus it is a POST based request scenario, so less likely that can be exploited or chained with other bugs that can cause phishing or credential theft.
ghsaosv
CVE-2022-38183MEDIUM≥ 0, < 1.16.92022-08-13
CVE-2022-38183 [MEDIUM] CWE-732 Gitea allowed assignment of private issues Gitea allowed assignment of private issues In Gitea before 1.16.9, it was possible for users to add existing issues to projects. Due to improper access controls, an attacker could assign any issue to any project in Gitea (there was no permission check for fetching the issue). As a result, the attacker would get access to private issue titles.
ghsaosv
CVE-2022-1928MEDIUM≥ 0, < 1.16.92022-05-30
CVE-2022-1928 [MEDIUM] CWE-79 Stored Cross-site Scripting in gitea Stored Cross-site Scripting in gitea Cross-site Scripting (XSS) - Stored in GitHub repository go-gitea/gitea prior to 1.16.9 via unfiltered pdfs
ghsaosv
CVE-2019-11576CRITICAL≥ 0, < 1.8.02022-05-24
CVE-2019-11576 [CRITICAL] CWE-287 Gitea Allows 1FA Even for 2FA-Enrolled Accounts Gitea Allows 1FA Even for 2FA-Enrolled Accounts Gitea before 1.8.0 allows 1FA for user accounts that have completed 2FA enrollment. If a user's credentials are known, then an attacker could send them to the API without requiring the 2FA one-time password.
ghsaosv
CVE-2019-1010261MEDIUM≥ 0, < 1.7.12022-05-24
CVE-2019-1010261 [MEDIUM] CWE-79 Gitea XSS Vulnerability Gitea XSS Vulnerability Gitea 1.7.0 and earlier is affected by: Cross Site Scripting (XSS). The impact is: Attacker is able to have victim execute arbitrary JS in browser. The component is: go-get URL generation - PR to fix: https://github.com/go-gitea/gitea/pull/5905. The attack vector is: victim must open a specifically crafted URL. The fixed version is: 1.7.1 and later.
ghsaosv
CVE-2019-1010314MEDIUM≥ 1.7.2, < 1.7.42022-05-24
CVE-2019-1010314 [MEDIUM] CWE-79 Gitea XSS Vulnerability in Repository Description Gitea XSS Vulnerability in Repository Description Gitea 1.7.2, 1.7.3 is affected by: Cross Site Scripting (XSS). The impact is: execute JavaScript in victim's browser, when the vulnerable repo page is loaded. The component is: repository's description. The attack vector is: victim must navigate to public and affected repo page.
ghsaosv
CVE-2022-30781HIGHPoC≥ 0, < 1.16.72022-05-17
CVE-2022-30781 [HIGH] CWE-116 Shell command injection in gitea Shell command injection in gitea Gitea before 1.16.7 does not escape the shell out for `git fetch remote` allowing for shell command injection
ghsaosv
CVE-2018-15192HIGH≥ 0, < 1.16.0-rc12022-05-14
CVE-2018-15192 [HIGH] CWE-918 Gogs and Gitea SSRF Vulnerability Gogs and Gitea SSRF Vulnerability An SSRF vulnerability in webhooks in Gitea through 1.5.0-rc2 and Gogs through 0.11.53 allows remote attackers to access intranet services.
ghsaosv
CVE-2019-1000002MEDIUM≥ 0, < 1.6.32022-05-13
CVE-2019-1000002 [MEDIUM] CWE-284 Gitea Arbitrary File Delete Vulnerability Gitea Arbitrary File Delete Vulnerability Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in Delete/Edit file functionallity that can result in the attacker deleting files outside the repository he/she has access to. This attack appears to be exploitable via the attacker must get write access to "any" repository including self-created ones. This vulnerability appears to have been fixed
ghsaosv
CVE-2022-27313HIGH≥ 0, < 1.16.42022-05-04
CVE-2022-27313 [HIGH] Arbitrary file deletion in gitea Arbitrary file deletion in gitea An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.
ghsaosv
CVE-2022-1058MEDIUMPoC≥ 0, < 1.16.52022-03-25
CVE-2022-1058 [MEDIUM] CWE-601 Gitea Open Redirect Gitea Open Redirect Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.
ghsaosv
CVE-2021-29134MEDIUM≥ 0, < 1.13.62022-03-16
CVE-2021-29134 [MEDIUM] CWE-22 Path Traversal in Gitea Path Traversal in Gitea The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
ghsaosv
CVE-2022-0905HIGH≥ 0, < 1.16.42022-03-11
CVE-2022-0905 [HIGH] CWE-862 Gitea Missing Authorization vulnerability Gitea Missing Authorization vulnerability Gitea 1.16.3 and prior is vulnerable to missing authorization. A patch is available as part of the 1.16.4 release.
ghsaosv
CVE-2018-18926CRITICAL≥ 0, < 1.5.22022-02-15
CVE-2018-18926 [CRITICAL] CWE-94 Gitea Remote Code Execution (RCE) Gitea Remote Code Execution (RCE) Gitea before 1.5.4 allows remote code execution because it does not properly validate session IDs. This is related to session ID handling in the go-macaron/session code for Macaron.
ghsaosv
CVE-2021-45331CRITICAL≥ 0, < 1.5.02022-02-10
CVE-2021-45331 [CRITICAL] CWE-287 Reuse of one time passwords allowed in Gitea Reuse of one time passwords allowed in Gitea An Authentication Bypass vulnerability exists in Gitea before 1.5.0, which could let a malicious user gain privileges. If captured, the TOTP code for the 2FA can be submitted correctly more than once.
ghsaosv