Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2022-1245

CVE-2022-1245: Missing Authorization

July 8, 2022 (updated November 7, 2023)

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.

References

  • github.com/advisories/GHSA-75p6-52g3-rqc8
  • github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8
  • nvd.nist.gov/vuln/detail/CVE-2022-1245

Code Behaviors & Features

Detect and mitigate CVE-2022-1245 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 18.0.0

Fixed versions

  • 18.0.0

Solution

Upgrade to version 18.0.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

maven/org.keycloak/keycloak-services/CVE-2022-1245.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.