CVE-2017-12160 json
Keycloak Oauth Implementation Error
published 9y ago modified 4mo 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
Is CVE-2017-12160 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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 keycloakaffected: no fix planned “Will not fix”
-
Red Hat Single Sign-On 7.1fixed: 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.el6fixed: 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.el7fixed: 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-09).
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
References
-
access.redhat.com
/errata/RHSA-2017:2904
vendor-advisory, web, issue-tracking, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:2905
vendor-advisory, web, issue-tracking, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:2906
vendor-advisory, web, issue-tracking, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1484154
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-12160
advisory
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2017-12160
- GitHub Advisory GHSA-qc72-gfvw-76h7
- NVD CVE-2017-12160
Fencer Intel 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.