CVE-2017-2585
MEDIUM 5.9CVSS 3.0keycloak-core vulnerable to timing attacks against JWS token verification
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.
- Published
- 12 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-w6gv-3r3v-gwgj
- Sources
- NVDJSONOSV GHSA-w6gv-3r3v-gwgjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
< 2.5.1 | 2.5.1 |
| NVD | redhat | single_sign_oncpe:2.3:a:redhat:single_sign_on:7.1:*:*:*:*:*:*:* |
= 7.1 | |
| NVD | redhat | single_sign_oncpe:2.3:a:redhat:single_sign_on:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| OSV | Maven | org.keycloak:keycloak-core | < 2.5.1 | 2.5.1 |
References
- http://rhn.redhat.com/errata/RHSA-2017-0876.html · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/97393 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038180 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:0872 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:0873 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1412376 · Issue Tracking, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-2585 · ADVISORY
- https://github.com/advisories/GHSA-w6gv-3r3v-gwgj · ADVISORY
- https://web.archive.org/web/20170420113802/http://www.securitytracker.com/id/1038180 · WEB
- https://web.archive.org/web/20200227175650/http://www.securityfocus.com/bid/97393 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 12 Mar 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Oct 2018)