CVE-2018-10912 Moderate severity vulnerability that affects org.keycloak:keycloak-core

Medium 4.4 Published Updated

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.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions4.0.0
org.keycloak:keycloak-core MavenAll versions4.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.

All Redhat Keycloak vulnerabilities

Sources

Also known as CVE-2018-10842, GHSA-h7j7-pw3v-3v3x.

Is CVE-2018-10912 in your software?

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

Check your SBOMs for free