Bug 1412376 (CVE-2017-2585) - CVE-2017-2585 keycloak: timing attack in JWS signature verification
Summary: CVE-2017-2585 keycloak: timing attack in JWS signature verification
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-2585
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1412373 1438536
TreeView+ depends on / blocked
 
Reported: 2017-01-11 21:40 UTC by Chess Hazlett
Modified: 2021-10-21 11:48 UTC (History)
10 users (show)

Fixed In Version: keycloak 2.5.1
Doc Type: If docs needed, set a value
Doc Text:
It was found that keycloak's implementation of HMAC verification for JWS tokens uses a method that runs in non-constant time, potentially leaving the application vulnerable to timing attacks.
Clone Of:
Environment:
Last Closed: 2021-10-21 11:48:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0872 0 normal SHIPPED_LIVE Moderate: Red Hat Single Sign-On 7.1 update on RHEL 6 2017-04-04 21:26:43 UTC
Red Hat Product Errata RHSA-2017:0873 0 normal SHIPPED_LIVE Moderate: Red Hat Single Sign-On 7.1 update on RHEL 7 2017-04-04 21:26:10 UTC
Red Hat Product Errata RHSA-2017:0876 0 normal SHIPPED_LIVE Moderate: Red Hat Single Sign-On 7.1 update 2017-04-04 21:15:55 UTC

Description Chess Hazlett 2017-01-11 21:40:33 UTC
Keycloak implented HMAC verification using a comparison method that does not operate in constant time. This potentially leaves the application open to timing attacks.

Comment 2 Chess Hazlett 2017-01-11 21:51:33 UTC
Acknowledgments:

Name: Richard Kettelerij (Mindloops)

Comment 3 errata-xmlrpc 2017-04-04 17:16:27 UTC
This issue has been addressed in the following products:



Via RHSA-2017:0876 https://access.redhat.com/errata/RHSA-2017:0876

Comment 4 errata-xmlrpc 2017-04-04 17:27:38 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.1 for RHEL 7

Via RHSA-2017:0873 https://access.redhat.com/errata/RHSA-2017:0873

Comment 5 errata-xmlrpc 2017-04-04 17:28:01 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.1 for RHEL 6

Via RHSA-2017:0872 https://access.redhat.com/errata/RHSA-2017:0872


Note You need to log in before you can comment on or make changes to this bug.