Information disclosure in Red Hat keycloak
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 3 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
Red Hat Keycloak before version 2.5.1 has an implementation of HMAC verification for JWS tokens that uses a method that runs in non-constant time, potentially leaving the application vulnerable to timing attacks.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | keycloak | 2.5.1 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-core (Maven) | before 2.5.1 | 2.5.1 | Patch available | GHSA-w6gv-3r3v-gwgj |
- keycloak VendorRed Hat Affected 2.5.1 Fixed in — No fix listed CNA
- org.keycloak:keycloak-core (Maven) Vendor— Affected before 2.5.1 Fixed in 2.5.1 Patch available GHSA-w6gv-3r3v-gwgj
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* | before 2.5.1 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:single_sign_on:7.1:*:*:*:*:*:*:* | 7.1 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:single_sign_on:7.2:*:*:*:*:*:*:* | 7.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Running on | Red Hat |
- cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* Versions before 2.5.1 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:single_sign_on:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:single_sign_on:7.2:*:*:*:*:*:*:* Versions 7.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
Remediation
- Fix · GHSA-w6gv-3r3v-gwgj org.keycloak:keycloak-core (Maven) Fixed in 2.5.1 Advisory →
Red Hat 3 advisories
- RHSA-2017:0872 Released 2017-04-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.1 update on RHEL 6
- Red Hat Single Sign-On 7.1 for RHEL 6 Server rh-sso7-1-2.jbcs.el6, rh-sso7-freemarker-2.3.23-1.redhat_2.2.jbcs.el6, rh-sso7-javapackages-tools-3.4.1-5.15.3.jbcs.el6 +13
- RHSA-2017:0873 Released 2017-04-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.1 update on RHEL 7
- Red Hat Single Sign-On 7.1 for RHEL 7 Server rh-sso7-1-2.jbcs.el7, rh-sso7-freemarker-2.3.23-1.redhat_2.2.jbcs.el7, rh-sso7-javapackages-tools-3.4.1-5.15.3.jbcs.el7 +13
- RHSA-2017:0876 Released 2017-04-04 · Red Hat rating ModerateRed Hat Single Sign-On 7.1 update
- Red Hat Single Sign-On 7.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat Keycloak — RHSA-2017:0876
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2016-07091 Improper access control in Red Hat KeycloakPriority LOW 33
- Advisory ·
Red Hat Keycloak — RHSA-2017:0872
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2016-07091 Improper access control in Red Hat KeycloakPriority LOW 33
Show 1 more group
- Advisory ·
Red Hat Keycloak — RHSA-2017:0873
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2016-07091 Improper access control in Red Hat KeycloakPriority LOW 33
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Mobile Application Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat Single Sign-On 7.1 | Fixed | RHSA-2017:0876 |
| Red Hat Single Sign-On 7.1 for RHEL 6 Server | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 7 Server | Fixed | RHSA-2017:0873 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-2585
- 2026-10-03 Alias added: GHSA-w6gv-3r3v-gwgj
References
Advisory 5
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2017-2585 · CVE Program
- CVE-2017-2585 · NVD
- FIRST EPSS
- GHSA-w6gv-3r3v-gwgj · GitHub Advisory Database · CC BY 4.0
- CVE-2017-2585 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences