CVE-2020-13246: Denial of Service in Gitea
Summary
CVE-2020-13246: Denial of Service in Gitea. Affects github.com/go-gitea/gitea versions < 1.12.0. Fixed in 1.12.0. How to fix ↓
Also tracked for
- code.gitea.io/gitea · Go
- gitea · Bitnami
The same CVE-2020-13246 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Gitea is an open-source self-hosted Git service written in Go. It provides a lightweight interface for managing repositories, users, and organizations. Gitea allows users to collaborate on code, track changes, and manage project workflows. However, a vulnerability has been discovered in Gitea that can lead to a denial of service (DoS) attack.
Vulnerability Detail
The vulnerability (CVE-2020-13246) in Gitea allows an attacker to trigger a deadlock by initiating a transfer of a repository's ownership from one organization to another. This can result in a DoS condition, causing the affected Gitea instance to become unresponsive and potentially impacting the availability of the service. The vulnerability has a CVSS score of 7.5, indicating a high severity.
How To Fix
Latest published version: v1.8.3 as of 23 Oct 2026
go get github.com/go-gitea/gitea@v1.8.3
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.12.0
This is the first release that contains the fix.
go get github.com/go-gitea/gitea@v1.12.0
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Conclusion
In conclusion, the vulnerability (CVE-2020-13246) in Gitea can lead to a denial of service (DoS) condition. It is crucial to update Gitea to version 1.12.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for github.com/go-gitea/gitea →
FAQ
Gitea is an open-source self-hosted Git service that provides a lightweight interface for managing repositories, users, and organizations.
The vulnerability allows an attacker to trigger a deadlock, leading to a denial of service (DoS) condition in Gitea. This can result in the affected instance becoming unresponsive and impacting the availability of the service.
To fix this vulnerability, update Gitea to version 1.12.0 or later, which includes a fix for the deadlock issue.
No specific workaround has been provided for this vulnerability. It is recommended to update Gitea to the latest version.
The CVSS score of this vulnerability is 7.5, indicating a high severity.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/go-gitea/gitea.