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

Source: https://junglewise.ai/threats/cve-2020-1698-keycloak-leaks-sensitive-information-in-logged-exceptions  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-1698 · Severity: low · CVSS 3.1 · Published 2022-05-24

Keycloak leaks sensitive information in logged exceptions

Technologies: [org.keycloak:keycloak-core (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-1698 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-1698 being exploited in the wild.

**How severe is CVE-2020-1698?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** org.keycloak:keycloak-core (Maven) ECOSYSTEM:introduced=0,fixed=9.0.0.

**Is there a fix for CVE-2020-1698?** Yes. org.keycloak:keycloak-core (Maven): upgrade to 9.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-1698?** Check whether you run org.keycloak:keycloak-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.keycloak:keycloak-core (Maven): upgrade to 9.0.0 or later

  ```sh
  # set org.keycloak:keycloak-core to 9.0.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.keycloak:keycloak-core (Maven) ECOSYSTEM:introduced=0,fixed=9.0.0

## Identifiers

- CVE-2020-1698
- GHSA-qgmm-f2qw-r95f

## Related threats

- [Keycloak allows cross-site scripting (XSS)](https://junglewise.ai/threats/cve-2024-4028-keycloak-allows-cross-site-scripting-xss)
- [Keycloak mTLS Authentication Bypass via Reverse Proxy TLS Termination](https://junglewise.ai/threats/cve-2024-10039-keycloak-mtls-authentication-bypass-via-reverse-proxy-tls)
- [Keycloaks's One Time Passcode (OTP) is valid longer than expiration timeSeverity](https://junglewise.ai/threats/cve-2024-7318-keycloaks-s-one-time-passcode-otp-is-valid-longer-than-expiration)
- [Keycloak Denial of Service vulnerability](https://junglewise.ai/threats/cve-2023-6841-keycloak-denial-of-service-vulnerability)
- [Keycloak Open Redirect vulnerability](https://junglewise.ai/threats/cve-2024-7260-keycloak-open-redirect-vulnerability)
