CVE-2020-10758 Allocation of Resources Without Limits or Throttling in Keycloak
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.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-parent Maven | All versions | 11.0.1 |
org.keycloak:keycloak-parent Maven | All versions | 11.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.
Other vulnerabilities in Redhat Keycloak
- CVE-2022-4361 Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC
- CVE-2022-1245 Keycloak vulnerable to privilege escalation on Token Exchange feature
- CVE-2021-20195 keycloak Self Stored Cross-site Scripting vulnerability
- CVE-2019-14910 Keycloak Authentication Error
- CVE-2019-14909 Keycloak Authentication Error
Sources
Also known as GHSA-52rg-hpwq-qp56.