CVE-2020-13354 Denial of service in GitLab CE/EE

Medium 4.3 Published Updated

An attacker can cause high CPU usage and service disruption in GitLab by submitting specific container registry names that trigger exponential backtracking.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-13354?

CVE-2020-13354 is a medium-severity denial of service vulnerability in Gitlab Gitlab, published on 17 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A potential DOS vulnerability was discovered in GitLab CE/EE starting with version 12.6. The container registry name check could cause exponential number of backtracks for certain user supplied values resulting in high CPU usage. Affected versions are: >=12.6, <13.3.9.

Weakness: CWE-400

Which versions are affected by CVE-2020-13354?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiAll versions13.3.9

Products include Gitlab Gitlab.

How do I fix CVE-2020-13354?

Upgrade gitlab to 13.3.9 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-13354 being exploited?

There is no known exploitation of CVE-2020-13354 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2020-13354, GHSA-g5mf-xw7v-rmr9.

Is CVE-2020-13354 in your software?

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

Check your SBOMs for free