CVE-2020-1718 Improper Authentication for Keycloak

High 7.1 Published Updated

Attackers can bypass authentication in the credential reset flow to gain unauthorized access to Keycloak applications.

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

CVE-2020-1718 is a high-severity authentication bypass vulnerability in Redhat Keycloak, published on 12 May 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in the reset credential flow in all Keycloak versions before 8.0.0. This flaw allows an attacker to gain unauthorized access to the application.

Weakness: CWE-287

Which versions are affected by CVE-2020-1718?

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

PackageAffectedFixed in
org.keycloak:keycloak-parent MavenAll versions8.0.0
org.keycloak:keycloak-parent MavenAll versions8.0.0

Products include Redhat Jboss Fuse, Redhat Keycloak, Redhat Openshift Application Runtimes.

How do I fix CVE-2020-1718?

Upgrade org.keycloak:keycloak-parent to 8.0.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2020-1718 being exploited?

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

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-j229-2h63-rvh9.

Is CVE-2020-1718 in your software?

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

Check your SBOMs for free