CVE-2022-1245: redhat keycloak Missing Authorization
CVSS: 9.8v3.1CriticalModified
AliasesRHSA-2022:1711RHSA-2022:1712GHSA-75p6-52g3-rqc8
Published 07-07-2022Last modified 02-08-2024
Vulnerability summary
CVE-2022-1245 is a critical (CVSS 9.8) Missing Authorization vulnerability in redhat keycloak. EPSS estimates a 1.41% chance of exploitation in the next 30 days, higher than 72.4% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
1.41%
0%100%
Low · +0.08 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 07-07-2022PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.
CVSS metrics
4 scores · 3 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSources3 sources · 8.0–9.8
- OSV · Red hatEcosystem advisory · calculated8.0HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.41%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
+0.08 pp
From 1.34% on 21-09-2026
21-09-202621-10-2026
EPSS score1.41%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-862Missing AuthorizationThe product does not perform an authorization check when an actor attempts to access a resource or perform an action.
- CWE-639Authorization Bypass Through User-Controlled KeyThe system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Affected systems
Redhat3 products
- keycloak< 18.0.0
- rh-sso7-keycloak< 0:15.0.6-1.redhat_00002.1.el7sso | < 0:15.0.6-1.redhat_00002.1.el8sso
- rh-sso7-keycloak-server< 0:15.0.6-1.redhat_00002.1.el7sso | < 0:15.0.6-1.redhat_00002.1.el8sso
Org.keycloak1 product
- keycloak-services< 18.0.0
2 vendors · 4 products
References
16 links- github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8X Refsource MISCARTICLEWEBThird Party Advisory
Show all 16 references
- github.com/keycloak/keycloakPACKAGE