CVE-2018-10912 Moderate severity vulnerability that affects org.keycloak:keycloak-core
A malicious authenticated user can trigger an infinite loop during session replacement, causing a Denial of Service on Keycloak clusters.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-10912?
CVE-2018-10912 is a medium-severity denial of service vulnerability in Redhat Keycloak, published on 23 Jul 2018. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
keycloak before version 4.0.0.final is vulnerable to a infinite loop in session replacement. A Keycloak cluster with multiple nodes could mishandle an expired session replacement and lead to an infinite loop. A malicious authenticated user could use this flaw to achieve Denial of Service on the server.
Weakness: CWE-835
Which versions are affected by CVE-2018-10912?
2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.keycloak:keycloak-core Maven | All versions | 4.0.0 |
org.keycloak:keycloak-core Maven | All versions | 4.0.0 |
Products include Redhat Keycloak, Redhat Single Sign-On.
How do I fix CVE-2018-10912?
Upgrade org.keycloak:keycloak-core to 4.0.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-2018-10912 being exploited?
There is no known exploitation of CVE-2018-10912 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 CVE-2018-10842, GHSA-h7j7-pw3v-3v3x.