CVE-2020-13246 Denial of Service in Gitea

High 7.5 Published Updated

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.

PackageAffectedFixed in
github.com/go-gitea/gitea GoAll versions1.12.0
github.com/go-gitea/gitea GoAll versions1.12.0
gitea BitnamiAll versions1.11.6
code.gitea.io/gitea GoAll versions1.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.

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2020-13246, GHSA-g2qx-6ghw-67hm, GO-2022-0830.

Is CVE-2020-13246 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free