CVE-2022-1245
Keycloak vulnerable to privilege escalation on Token Exchange feature
9.8
CRITICAL
CVSS 3.1
EPSS 0.43%
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.
How to fix CVE-2022-1245
To remediate CVE-2022-1245, upgrade the affected package to a fixed version below.
- —upgrade to 18.0.0 or later
Is CVE-2022-1245 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 18.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |