CVE-2020-13246 Denial of Service in Gitea
An attacker can cause a deadlock and denial of service in Gitea by initiating a repository ownership transfer between organizations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13246?
CVE-2020-13246 is a high-severity denial of service vulnerability in Gitea Gitea, published on 20 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in Gitea through 1.11.5. An attacker can trigger a deadlock by initiating a transfer of a repository's ownership from one organization to another.
Weakness: CWE-667
Which versions are affected by CVE-2020-13246?
4 open source packages ship an affected version, including github.com/go-gitea/gitea, gitea and code.gitea.io/gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/go-gitea/gitea Go | All versions | 1.12.0 |
github.com/go-gitea/gitea Go | All versions | 1.12.0 |
gitea Bitnami | All versions | 1.11.6 |
code.gitea.io/gitea Go | All versions | 1.12.0 |
Products include Gitea Gitea.
How do I fix CVE-2020-13246?
Upgrade github.com/go-gitea/gitea to 1.12.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2020-13246 being exploited?
There is no known exploitation of CVE-2020-13246 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2020-13246, GHSA-g2qx-6ghw-67hm, GO-2022-0830.