Skip to content

← Public intelligence

Maven package

org.keycloak:keycloak-services

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

89 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.1MavenPublished

    Keycloak vulnerable to Improper Client Certificate Validation for OAuth/OpenID clients

    CVE-2023-2422 · GHSA-3qh5-qqj2-c78f

    Affected
    • Maven org.keycloak:keycloak-services < 21.1.2
    Fixed in
    21.1.2· Vendor fix available
    Issue
    When a Keycloak server is configured to support mTLS authentication for OAuth/OpenID clients, it does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client and therefore access data that belongs to other clients.

    Recommended action: Upgrade to 21.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Critical, CVSS 10.0MavenPublished

    Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC

    CVE-2022-4361 · GHSA-3p62-6fjh-3p5h

    Affected
    • Maven org.keycloak:keycloak-services < 21.1.2
    Fixed in
    21.1.2· Vendor fix available
    Issue
    AssertionConsumerServiceURL is a Java implementation for SAML Service Providers (org.keycloak.protocol.saml). Affected versions of this package are vulnerable to Cross-site Scripting (XSS). AssertionConsumerServiceURL allows XSS when sending a crafted SAML XML request.

    Recommended action: Upgrade to 21.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Low, CVSS 3.5MavenPublished

    Client Spoofing within the Keycloak Device Authorisation Grant

    CVE-2023-2585 · GHSA-f5h4-wmp5-xhg6

    Affected
    • Maven org.keycloak:keycloak-services < 21.1.2
    Fixed in
    21.1.2· Vendor fix available
    Issue
    Under certain pre-conditions the vulnerability allows an attacker to spoof parts of the device flow and use a devicecode to retrieve an access token for other OAuth clients.

    Recommended action: Upgrade to 21.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 8.7MavenPublished

    Keycloak vulnerable to user impersonation via stolen UUID code

    CVE-2023-0264 · GHSA-9g98-5mj6-f9mv

    Affected
    • Maven org.keycloak:keycloak-services < 21.0.1
    Fixed in
    21.0.1· Vendor fix available
    Issue
    Keycloak's OpenID Connect user authentication was found to incorrectly authenticate requests. An authenticated attacker who could also obtain a certain piece of info from a user request, from a victim within the same realm, could use that data to impersonate the victim and generate new session tokens.

    Recommended action: Upgrade to 21.0.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 5.4MavenPublished

    HTML Injection in Keycloak Admin REST API

    CVE-2022-1274 · GHSA-m4fv-gm5m-4725

    Affected
    • Maven org.keycloak:keycloak-services < 20.0.5
    Fixed in
    20.0.5· Vendor fix available
    Issue
    The execute-actions-email endpoint of the Keycloak Admin REST API allows a malicious actor to send emails containing phishing links to Keycloak users.

    Recommended action: Upgrade to 20.0.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 6.1MavenPublished

    JBoss KeyCloak Open Redirect

    CVE-2014-3652 · GHSA-5r7w-pjx8-99qg

    Affected
    • Maven org.keycloak:keycloak-services < 1.1.0.Beta1
    Fixed in
    1.1.0.Beta1· Vendor fix available
    Issue
    JBoss KeyCloak: Open redirect vulnerability via failure to validate the redirect URL.

    Recommended action: Upgrade to 1.1.0.Beta1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Medium, CVSS 4.3MavenPublished

    JBoss KeyCloak is vulnerable to soft token deletion via CSRF

    CVE-2014-3655 · GHSA-237q-6hjp-pchq

    Affected
    • Maven org.keycloak:keycloak-services < 1.0.2.Final
    Fixed in
    1.0.2.Final· Vendor fix available
    Issue
    JBoss KeyCloak is vulnerable to soft token deletion via CSRF. This issue is fixed in Keycloak 1.0.2.Final.

    Recommended action: Upgrade to 1.0.2.Final or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. High, CVSS 8.8MavenPublished

    JBoss Keycloak CSRF Vulnerability

    CVE-2014-3709 · GHSA-xr6q-qqx7-553g

    Affected
    • Maven org.keycloak:keycloak-services < 1.0.3.Final
    Fixed in
    1.0.3.Final· Vendor fix available
    Issue
    The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote attackers to conduct cross-site request forgery (CSRF) attacks by leveraging lack of CSRF protection.

    Recommended action: Upgrade to 1.0.3.Final or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Medium, CVSS 5.4MavenPublished

    Keycloak Authentication Error

    CVE-2018-10894 · GHSA-xvv8-8wh9-9fh2

    Affected
    • Maven org.keycloak:keycloak-services < 4.4.0.Final
    Fixed in
    4.4.0.Final· Vendor fix available
    Issue
    It was found that SAML authentication in Keycloak 3.4.3.Final incorrectly authenticated expired certificates. A malicious user could use this to access unauthorized data or possibly conduct further attacks.

    Recommended action: Upgrade to 4.4.0.Final or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. UnratedMavenPublished

    Keycloak is vulnerable to IDN homograph attack

    GHSA-mwm4-5qwr-g9pf

    Affected
    • Maven org.keycloak:keycloak-services < 18.0.0
    Fixed in
    18.0.0· Vendor fix available
    Issue
    A flaw was found in keycloak, where IDN homograph attacks are possible. This flaw allows a malicious user to register a name that already exists and then tricking an admin to grant extra privileges. The highest threat from this vulnerability is to integrity.

    Recommended action: Upgrade to 18.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Medium, CVSS 5.3MavenPublished

    Keycloak is vulnerable to IDN homograph attack

    CVE-2021-3424 · GHSA-pf38-cw3p-22q9

    Affected
    • Maven org.keycloak:keycloak-services < 18.0.0
    Fixed in
    18.0.0· Vendor fix available
    Issue
    A flaw was found in keycloak as shipped in Red Hat Single Sign-On 7.4 where IDN homograph attacks are possible. A malicious user can register himself with a name already registered and trick admin to grant him extra privileges.

    Recommended action: Upgrade to 18.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. Critical, CVSS 9.8MavenPublished

    Keycloak vulnerable to privilege escalation on Token Exchange feature

    CVE-2022-1245 · GHSA-75p6-52g3-rqc8

    Affected
    • Maven org.keycloak:keycloak-services < 18.0.0
    Fixed in
    18.0.0· Vendor fix available
    Issue
    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 clientid of the target. This could allow a client to gain unauthorized access to additional services.

    Recommended action: Upgrade to 18.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. Medium, CVSS 4.8MavenPublished

    Cross-site Scripting in keycloak

    CVE-2020-10776 · GHSA-484q-784p-8m5h

    Affected
    • Maven org.keycloak:keycloak-services < 12.0.0
    Fixed in
    12.0.0· Vendor fix available
    Issue
    A flaw was found in Keycloak before version 12.0.0, where it is possible to add unsafe schemes for the redirecturi parameter. This flaw allows an attacker to perform a Cross-site scripting attack.

    Recommended action: Upgrade to 12.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. High, CVSS 8.8MavenPublished

    Improper Authorization in Keycloak

    CVE-2021-4133 · GHSA-83x4-9cwr-5487

    Affected
    • Maven org.keycloak:keycloak-services < 15.1.1
    Fixed in
    15.1.1· Vendor fix available
    Issue
    A incorrect authorization flaw was found in Keycloak 12.0.0, the flaw allows an attacker with any existing user account to create new default user accounts via the administrative REST API even where new user registration is disabled.

    Recommended action: Upgrade to 15.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →