Skip to content
Fencer Vulns
high 7.2

CVE-2017-12160 json

Keycloak Oauth Implementation Error

published 2017-10-26 9 y ago modified 2026-06-17 4 mo ago also GHSA-qc72-gfvw-76h7 , EUVD-2022-4944

cvss
7.2
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

It was found that Keycloak oauth would permit an authenticated resource to obtain an access/refresh token pair from the authentication server, permitting indefinite usage in the case of permission revocation. An attacker on an already compromised resource could use this flaw to grant himself continued permissions and possibly conduct further attacks.

Patch / fix

  • maven org.keycloak:keycloak-parent 3.3.0.Final
  • rh-sso7-keycloak red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el7
  • rh-sso7-keycloak-server red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el7
  • rh-sso7-keycloak red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el6
  • rh-sso7-keycloak-server red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el6

red hat advisories RHSA-2017:2905RHSA-2017:2904

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-12160 updated cvss 3.1

keycloak: resource privilege extension via access token in oauth

  • Red Hat Mobile Application Platform 4 keycloak
    affected: no fix planned “Will not fix”
  • Red Hat Single Sign-On 7.1
    fixed: vendor fix RHSA-2017:2906
  • Red Hat Single Sign-On 7.1 for RHEL 6 Server rh-sso7-keycloak 2.5.14-1.Final_redhat_1.1.jbcs.el6, rh-sso7-keycloak-server 2.5.14-1.Final_redhat_1.1.jbcs.el6
    fixed: vendor fix RHSA-2017:2904
  • Red Hat Single Sign-On 7.1 for RHEL 7 Server rh-sso7-keycloak 2.5.14-1.Final_redhat_1.1.jbcs.el7, rh-sso7-keycloak-server 2.5.14-1.Final_redhat_1.1.jbcs.el7
    fixed: vendor fix RHSA-2017:2905

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.92% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-parent
<3.3.0.Final
3.3.0.Final

Affected products

  • Red Hat, Inc. keycloak

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.