keycloak: timing attack in JWS signature verification
Published Mar 12, 2018
5.9
MEDIUMCVSS 3.0
EPSS 1.97%
Description
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.
Affected products
-
- Version 2.5.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat, Inc. | Keycloak | n/a |
|
Configuration 2
- 7.1
- 7.2
Running on/with
- 6.0
- 7.0
No data.
Red Hat Single Sign-On 7.1
n/a
Fixed · RHSA-2017:0876
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-0:1-2.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-freemarker-0:2.3.23-1.redhat_2.2.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-javapackages-tools-0:3.4.1-5.15.3.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-keycloak-0:2.5.5-2.Final_redhat_1.1.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-libunix-dbus-java-0:0.8.0-2.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-liquibase-0:3.4.1-2.redhat_2.1.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-twitter4j-0:4.0.4-1.redhat_3.1.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 6
rh-sso7-zxing-0:3.2.1-1.redhat_4.1.jbcs.el6
Fixed · RHSA-2017:0872
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-0:1-2.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-freemarker-0:2.3.23-1.redhat_2.2.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-javapackages-tools-0:3.4.1-5.15.3.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-keycloak-0:2.5.5-2.Final_redhat_1.1.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-libunix-dbus-java-0:0.8.0-2.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-liquibase-0:3.4.1-2.redhat_2.1.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-twitter4j-0:4.0.4-1.redhat_3.1.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Single Sign-On 7.1 for RHEL 7
rh-sso7-zxing-0:3.2.1-1.redhat_4.1.jbcs.el7
Fixed · RHSA-2017:0873
Red Hat Mobile Application Platform 4
keycloak
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Single Sign-On 7.1 | n/a | Fixed | RHSA-2017:0876 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-0:1-2.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-freemarker-0:2.3.23-1.redhat_2.2.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-javapackages-tools-0:3.4.1-5.15.3.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-keycloak-0:2.5.5-2.Final_redhat_1.1.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-libunix-dbus-java-0:0.8.0-2.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-liquibase-0:3.4.1-2.redhat_2.1.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-twitter4j-0:4.0.4-1.redhat_3.1.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 6 | rh-sso7-zxing-0:3.2.1-1.redhat_4.1.jbcs.el6 | Fixed | RHSA-2017:0872 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-0:1-2.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-freemarker-0:2.3.23-1.redhat_2.2.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-javapackages-tools-0:3.4.1-5.15.3.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-keycloak-0:2.5.5-2.Final_redhat_1.1.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-libunix-dbus-java-0:0.8.0-2.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-liquibase-0:3.4.1-2.redhat_2.1.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-twitter4j-0:4.0.4-1.redhat_3.1.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Single Sign-On 7.1 for RHEL 7 | rh-sso7-zxing-0:3.2.1-1.redhat_4.1.jbcs.el7 | Fixed | RHSA-2017:0873 |
| Red Hat Mobile Application Platform 4 | keycloak | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.97% (0.01974) | 79.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.05% (0.02053) | 78.70th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.56% (0.00555) | 66.16th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.39% (0.00394) | 74.24th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.39% (0.00394) | 72.71th | v3 (v2023.03.01) |
| Sep 12, 2023 | 0.39% (0.00394) | 70.14th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.46% (0.00463) | 72.33th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.03% (0.01032) | 81.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.45% (0.01454) | 32.67th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (12)
- http://rhn.redhat.com/errata/RHSA-2017-0876.html vendor-advisoryx_refsource_REDHATVendor Advisory
- http://www.securityfocus.com/bid/97393 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038180 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:0872 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2017:0873 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/security/cve/CVE-2017-2585 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1412376 x_refsource_CONFIRMIssue Tracking
- https://github.com/advisories/GHSA-w6gv-3r3v-gwgj Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-2585
- https://web.archive.org/web/20170420113802/http://www.securitytracker.com/id/1038180
- https://web.archive.org/web/20200227175650/http://www.securityfocus.com/bid/97393
- https://www.cve.org/CVERecord?id=CVE-2017-2585
| Link | Providers | Tags |
|---|---|---|
| http://rhn.redhat.com/errata/RHSA-2017-0876.html | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| http://www.securityfocus.com/bid/97393 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1038180 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2017:0872 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2017:0873 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-2585 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1412376 | x_refsource_CONFIRMIssue Tracking | |
| https://github.com/advisories/GHSA-w6gv-3r3v-gwgj | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-2585 | ||
| https://web.archive.org/web/20170420113802/http://www.securitytracker.com/id/1038180 | ||
| https://web.archive.org/web/20200227175650/http://www.securityfocus.com/bid/97393 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-2585 |
Change history (0)
No recorded changes yet.