MEDIUM5.9
GHSA-w6gv-3r3v-gwgj
keycloak-core vulnerable to timing attacks against JWS token verification
Quick fix
GHSA-w6gv-3r3v-gwgj — org.keycloak:keycloak-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.5.1</version> for org.keycloak:keycloak-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-core
Introduced in:
0Fixed in: 2.5.1Fix
# pom.xml: bump <version>2.5.1</version> for org.keycloak:keycloak-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2017-2585[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:0872[WEB]
- https://access.redhat.com/errata/RHSA-2017:0873[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1412376[WEB]
- 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]
- http://rhn.redhat.com/errata/RHSA-2017-0876.html[WEB]