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

CVE-2023-0657: Keycloak vulnerable to impersonation via logout token exchange

April 17, 2024 (updated November 18, 2024)

Keycloak was found to not properly enforce token types when validating signatures locally. An authenticated attacker could use this flaw to exchange a logout token for an access token and possibly gain access to data outside of enforced permissions.

References

  • access.redhat.com/errata/RHSA-2024:1867
  • access.redhat.com/errata/RHSA-2024:1868
  • access.redhat.com/security/cve/CVE-2023-0657
  • bugzilla.redhat.com/show_bug.cgi?id=2166728
  • github.com/advisories/GHSA-7fpj-9hr8-28vh
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/security/advisories/GHSA-7fpj-9hr8-28vh
  • nvd.nist.gov/vuln/detail/CVE-2023-0657

Code Behaviors & Features

Detect and mitigate CVE-2023-0657 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 22.0.10, all versions starting from 23.0.0 before 24.0.3

Fixed versions

  • 22.0.10
  • 24.0.3

Solution

Upgrade to versions 22.0.10, 24.0.3 or above.

Impact 3.4 LOW

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

Learn more about CVSS

Weakness

  • CWE-273: Improper Check for Dropped Privileges
  • CWE-284: Improper Access Control
  • CWE-287: Improper Authentication
  • CWE-290: Authentication Bypass by Spoofing
  • CWE-347: Improper Verification of Cryptographic Signature

Source file

maven/org.keycloak/keycloak-services/CVE-2023-0657.yml

Spotted a mistake? Edit the file on GitLab.

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

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