CVE-2020-1698 Keycloak leaks sensitive information in logged exceptions

Medium 5.0 Published Updated

A logged exception in Keycloak may leak user passwords, compromising data confidentiality for administrators and users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-1698?

CVE-2020-1698 is a medium-severity vulnerability in Redhat Keycloak, published on 11 May 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in keycloak in versions before 9.0.0. A logged exception in the HttpMethod class may leak the password given as parameter. The highest threat from this vulnerability is to data confidentiality.

Weakness: CWE-532, CWE-200

Which versions are affected by CVE-2020-1698?

2 open source packages ship an affected version, including org.keycloak:keycloak-core. It affects 1 product.

PackageAffectedFixed in
org.keycloak:keycloak-core MavenAll versions9.0.0
org.keycloak:keycloak-core MavenAll versions9.0.0

Products include Redhat Keycloak.

How do I fix CVE-2020-1698?

Upgrade org.keycloak:keycloak-core to 9.0.0 or later.

Is CVE-2020-1698 being exploited?

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

All Redhat Keycloak vulnerabilities

Sources

Also known as GHSA-qgmm-f2qw-r95f.

Is CVE-2020-1698 in your software?

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

Check your SBOMs for free