5.9med

CVE-2017-2585

keycloak-core vulnerable to timing attacks against JWS token verification

Also known as GHSA-w6gv-3r3v-gwgj

Published 8 y ago · modified 4 mo ago · JSON

CVSS
5.9
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.0%
percentile 81%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

1.97% probability of exploitation in the next 30 days, higher than 81% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.05.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:P/I:N/A:N
GitHub3.05.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-core
<2.5.1
2.5.1

Affected products

  • Red Hat, Inc. keycloak

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

  • rhn.redhat.com /errata/RHSA-2017-0876.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • securitytracker.com /id/1038180 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=1412376 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/97393 · vdb-entry, x_refsource_BID, x_transferred
  • access.redhat.com /errata/RHSA-2017:0873 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • access.redhat.com /errata/RHSA-2017:0872 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-2585 · advisory
  • github.com /advisories/GHSA-w6gv-3r3v-gwgj · advisory
  • web.archive.org /web/20170420113802/http://www.securitytracker.com/id/1038180 · web
  • web.archive.org /web/20200227175650/http://www.securityfocus.com/bid/97393 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.