Skip to content
OpenAdvisories
Medium · 5.9 CVE-2017-2585 EUVD-2018-0707GHSA-w6gv-3r3v-gwgj

keycloak-core vulnerable to timing attacks against JWS token verification

Published Mar 12, 2018 · Updated Sep 16, 2024 · Assigned by redhat

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

VendorProductAffectedFixed
Red Hat keycloak 2.5.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7 +1 1-2.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872
Red Hat Single Sign On 7 rh-sso7-freemarker 2.3.23-1.redhat_2.2.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872
Red Hat Single Sign On 7 rh-sso7-javapackages-tools +1 3.4.1-5.15.3.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872
Red Hat Single Sign On 7 rh-sso7-keycloak +1 2.5.5-2.Final_redhat_1.1.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872
Red Hat Single Sign On 7 rh-sso7-libunix-dbus-java +1 0.8.0-2.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872
Red Hat Single Sign On 7 rh-sso7-liquibase +1 3.4.1-2.redhat_2.1.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872
Red Hat Single Sign On 7 rh-sso7-twitter4j +1 4.0.4-1.redhat_3.1.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872
Red Hat Single Sign On 7 rh-sso7-zxing +2 3.2.1-1.redhat_4.1.jbcs.el6 RHSA-2017:0873, RHSA-2017:0872

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-core < 2.5.1 2.5.1 GHSA-w6gv-3r3v-gwgj

Advisories 2

References