Skip to content

← Public intelligence

Maven package

org.keycloak:keycloak-parent

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

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

  1. High, CVSS 8.1MavenPublished

    Keycloak Cross-site Scripting on OpenID connect login service

    CVE-2022-4137 · GHSA-9hhc-pj4w-w5rv

    Affected
    • Maven org.keycloak:keycloak-parent < 20.0.5
    Fixed in
    20.0.5· Vendor fix available
    Issue
    A reflected cross-site scripting (XSS) vulnerability was found in the oob OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page.

    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 →
  2. Critical, CVSS 9.1MavenPublished

    Keycloak vulnerable to path traversal via double URL encoding

    CVE-2022-3782 · GHSA-g8q8-fggx-9r3q

    Affected
    • Maven org.keycloak:keycloak-parent <= 20.0.0
    Fixed in
    20.0.2· Vendor fix available
    Issue
    Keycloak does not properly validate URLs included in a redirect. An attacker could construct a malicious request to bypass validation and access other URLs and potentially sensitive information within the domain, or possibly conduct further attacks.

    Recommended action: Upgrade to 20.0.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. Medium, CVSS 6.8MavenPublished

    Keycloak vulnerable to session takeover with OIDC offline refreshtokens

    CVE-2022-3916 · GHSA-97g8-xfvw-q4hg

    Affected
    • Maven org.keycloak:keycloak-parent <= 19.0.2
    Fixed in
    20.0.2· Vendor fix available
    Issue
    An issue was discovered in Keycloak when using a client with the offlineaccess scope. Reuse of session ids across root and user authentication sessions and a lack of root session validation enabled attackers to resolve a user session attached to a different previously authenticated user. This issue most affects users of shared computers. Suppose a user logs out of their account (without clearing their cookies) in a mobile app or similar client that includes the offlineaccess scope, and another user authenticates to the application. In that case, it will share the same root session id, and when utilizing the refresh token, they will be issued a token for the original user.

    Recommended action: Upgrade to 20.0.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. Medium, CVSS 5.4MavenPublished

    Keycloak vulnerable to Stored Cross site Scripting (XSS) when loading default roles

    CVE-2022-2256 · GHSA-w9mf-83w3-fv49

    Affected
    • Maven org.keycloak:keycloak-parent < 19.0.2
    Fixed in
    19.0.2· Vendor fix available
    Issue
    A Stored XSS vulnerability was reported in the Keycloak Security mailing list, affecting all the versions of Keycloak, including the latest release (18.0.1). The vulnerability allows a privileged attacker to execute malicious scripts in the admin console, abusing of the default roles functionality. CVSS 3.1 - 3.8 Vector String: AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N Vector Clarification: User interaction is not required as the admin console is regularly used during an administrator's work The scope is unchanged since the admin console web application is both the vulnerable component and where the exploit executes Credits Aytaç Kalıncı, Ilker Bulgurcu, Yasin Yılmaz (@aytackalinci, @smileronin, @yasinyilmaz) - NETAŞ PENTEST TEAM

    Recommended action: Upgrade to 19.0.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 →
  5. High, CVSS 7.2MavenPublished

    Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console

    CVE-2022-2668 · GHSA-wf7g-7h6h-678v

    Affected
    • Maven org.keycloak:keycloak-parent < 19.0.2
    Fixed in
    19.0.2· Vendor fix available
    Issue
    An issue was discovered in Keycloak allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOADSCRIPTS feature is disabled

    Recommended action: Upgrade to 19.0.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 →
  6. High, CVSS 7.5MavenPublished

    Incorrect implementation of lockout feature in Keycloak

    CVE-2021-3513 · GHSA-xv7h-95r7-595j

    Affected
    • Maven org.keycloak:keycloak-parent < 13.0.0
    Fixed in
    13.0.0· Vendor fix available
    Issue
    A flaw was found in keycloak where a brute force attack is possible even when the permanent lockout feature is enabled. This is due to a wrong error message displayed when wrong credentials are entered. The highest threat from this vulnerability is to confidentiality.

    Recommended action: Upgrade to 13.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 →
  7. High, CVSS 7.5MavenPublished

    Keycloak CSRF Vulnerability

    CVE-2017-12159 · GHSA-7fmw-85qm-h22p

    Affected
    • Maven org.keycloak:keycloak-parent < 3.4.0
    Fixed in
    3.4.0· Vendor fix available
    Issue
    It was found that the cookie used for CSRF prevention in Keycloak was not unique to each session. An attacker could use this flaw to gain access to an authenticated user session, leading to possible information disclosure or further attacks.

    Recommended action: Upgrade to 3.4.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 →
  8. Medium, CVSS 5.4MavenPublished

    Keycloak Reflected XSS

    CVE-2017-12158 · GHSA-v38p-mqq3-m6v5

    Affected
    • Maven org.keycloak:keycloak-parent < 3.4.0
    Fixed in
    3.4.0· Vendor fix available
    Issue
    It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource locations. An attacker could use this flaw against an authenticated user to attain reflected XSS via a malicious server.

    Recommended action: Upgrade to 3.4.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 →
  9. High, CVSS 7.2MavenPublished

    Keycloak Oauth Implementation Error

    CVE-2017-12160 · GHSA-qc72-gfvw-76h7

    Affected
    • Maven org.keycloak:keycloak-parent < 3.3.0.Final
    Fixed in
    3.3.0.Final· Vendor fix available
    Issue
    It was found that Keycloak oauth would permit an authenticated resource to obtain an access/refresh token pair from the authentication server, permitting indefinite usage in the case of permission revocation. An attacker on an already compromised resource could use this flaw to grant himself continued permissions and possibly conduct further attacks.

    Recommended action: Upgrade to 3.3.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. High, CVSS 8.1MavenPublished

    Keycloak Improper Bruteforce Detection

    CVE-2018-14657 · GHSA-85v8-vx4w-q684

    Affected
    • Maven org.keycloak:keycloak-parent < 4.6.0.Final
    Fixed in
    4.6.0.Final· Vendor fix available
    Issue
    A flaw was found in Keycloak 4.2.1.Final, 4.3.0.Final. When TOPT enabled, an improper implementation of the Brute Force detection algorithm will not enforce its protection measures.

    Recommended action: Upgrade to 4.6.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 →
  11. UnratedMavenPublished

    Reflected XSS on clients-registrations endpoint

    GHSA-m98g-63qj-fp8j

    Affected
    • Maven org.keycloak:keycloak-parent >= 10.0.0, < 18.0.0
    Fixed in
    18.0.0· Vendor fix available
    Issue
    A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. When a malicious request is sent to the client registration endpoint, the error message is not properly escaped, allowing an attacker to execute malicious scripts into the user's browser. Acknowledgement Keycloak would like to thank Quentin TEXIER (Pentester at Opencyber) for reporting this issue.

    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. High, CVSS 7.1MavenPublished

    Keycloak insufficient session expiration

    CVE-2021-3461 · GHSA-cm29-6wx7-p874

    Affected
    • Maven org.keycloak:keycloak-parent < 14.0.0
    Fixed in
    14.0.0· Vendor fix available
    Issue
    A flaw was found in keycloak where keycloak may fail to logout user session if the logout request comes from external SAML identity provider and Principal Type is set to Attribute [Name].

    Recommended action: Upgrade to 14.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. High, CVSS 8.8MavenPublished

    Improper Authentication for Keycloak

    CVE-2020-1718 · GHSA-j229-2h63-rvh9

    Affected
    • Maven org.keycloak:keycloak-parent < 8.0.0
    Fixed in
    8.0.0· Vendor fix available
    Issue
    A flaw was found in the reset credential flow in all Keycloak versions before 8.0.0. This flaw allows an attacker to gain unauthorized access to the application.

    Recommended action: Upgrade to 8.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. Medium, CVSS 5.4MavenPublished

    Incorrect Authorization in keycloak

    CVE-2020-1725 · GHSA-p225-pc2x-4jpm

    Affected
    • Maven org.keycloak:keycloak-parent < 13.0.0
    Fixed in
    13.0.0· Vendor fix available
    Issue
    A flaw was found in keycloak before version 13.0.0. In some scenarios a user still has access to a resource after changing the role mappings in Keycloak and after expiration of the previous access token.

    Recommended action: Upgrade to 13.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 →
  15. High, CVSS 7.5MavenPublished

    Path Traversal

    CVE-2020-14366 · GHSA-cp67-8w3w-6h9c

    Affected
    • Maven org.keycloak:keycloak-parent < 12.0.0
    Fixed in
    12.0.0· Vendor fix available
    Issue
    A vulnerability was found in keycloak, where path traversal using URL-encoded path segments in the request is possible because the resources endpoint applies a transformation of the url path to the file path. Only few specific folder hierarchies can be exposed by this flaw

    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 →
  16. Medium, CVSS 4.9MavenPublished

    Incorrect Permission Assignment for Critical Resource and Permissive List of Allowed Inputs in Keycloak

    CVE-2020-1694 · GHSA-72j4-94rx-cr6w

    Affected
    • Maven org.keycloak:keycloak-parent < 10.0.0
    Fixed in
    10.0.0· Vendor fix available
    Issue
    A flaw was found in all versions of Keycloak before 10.0.0, where the NodeJS adapter did not support the verify-token-audience. This flaw results in some users having access to sensitive information outside of their permissions.

    Recommended action: Upgrade to 10.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 →
  17. High, CVSS 7.5MavenPublished

    Allocation of Resources Without Limits or Throttling in Keycloak

    CVE-2020-10758 · GHSA-52rg-hpwq-qp56

    Affected
    • Maven org.keycloak:keycloak-parent < 11.0.1
    Fixed in
    11.0.1· Vendor fix available
    Issue
    A vulnerability was found in Keycloak before 11.0.1 where DoS attack is possible by sending twenty requests simultaneously to the specified keycloak server, all with a Content-Length header value that exceeds the actual byte count of the request body.

    Recommended action: Upgrade to 11.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 →
  18. Medium, CVSS 6.1MavenPublished

    Cross-site Scripting in Keycloak

    CVE-2020-10748 · GHSA-hgpg-593r-hhvp

    Affected
    • Maven org.keycloak:keycloak-parent <= 10.0.1
    Fixed in
    10.0.2· Vendor fix available
    Issue
    A flaw was found in Keycloak's data filter, in version 10.0.1, where it allowed the processing of data URLs in some circumstances. This flaw allows an attacker to conduct cross-site scripting or further attacks.

    Recommended action: Upgrade to 10.0.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 →
  19. Medium, CVSS 5.9MavenPublished

    Improper Certificate Validation and Improper Validation of Certificate with Host Mismatch in Keycloak

    CVE-2020-1758 · GHSA-c597-f74m-jgc2

    Affected
    • Maven org.keycloak:keycloak-parent < 10.0.0
    Fixed in
    10.0.0· Vendor fix available
    Issue
    A flaw was found in Keycloak in versions before 10.0.0, where it does not perform the TLS hostname verification while sending emails using the SMTP server. This flaw allows an attacker to perform a man-in-the-middle (MITM) attack.

    Recommended action: Upgrade to 10.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 →
  20. High, CVSS 8.3MavenPublished

    Code injection in keycloak

    CVE-2021-20222 · GHSA-2mq8-99q7-55wx

    Affected
    • Maven org.keycloak:keycloak-parent >= 9.0.0, < 12.0.3
    Fixed in
    12.0.3· Vendor fix available
    Issue
    A flaw was found in keycloak. The new account console in keycloak can allow malicious code to be executed using the referrer URL. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

    Recommended action: Upgrade to 12.0.3 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 →