CVE-2020-10758 Allocation of Resources Without Limits or Throttling in Keycloak

High 7.5 Published Updated

Attackers can cause denial of service in Keycloak by sending concurrent requests with mismatched Content-Length headers, affecting identity server availability.

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-10758?

CVE-2020-10758 is a high-severity denial of service vulnerability in Redhat Keycloak, published on 16 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in Keycloak before 11.0.1 where DoS attack is possible by sending twenty requests simultaneously to the specified keycloak server, all with a Content-Length header value that exceeds the actual byte count of the request body.

Weakness: CWE-770

Which versions are affected by CVE-2020-10758?

2 open source packages ship an affected version, including org.keycloak:keycloak-parent. It affects 3 products.

PackageAffectedFixed in
org.keycloak:keycloak-parent MavenAll versions11.0.1
org.keycloak:keycloak-parent MavenAll versions11.0.1

Products include Redhat Keycloak, Redhat Openshift Application Runtimes, Redhat Single Sign-On.

How do I fix CVE-2020-10758?

Upgrade org.keycloak:keycloak-parent to 11.0.1 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-10758 being exploited?

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

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-52rg-hpwq-qp56.

Is CVE-2020-10758 in your software?

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

Check your SBOMs for free