Skip to content

← Public intelligence

Maven package

org.keycloak:keycloak-core

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

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

  1. High, CVSS 8.1MavenPublished

    Improper privilege management in Keycloak

    CVE-2020-14389 · GHSA-c9x9-xv66-xp3v

    Affected
    • Maven org.keycloak:keycloak-core < 12.0.0
    Fixed in
    12.0.0· Vendor fix available
    Issue
    A flaw was found in Keycloak, where it would permit a user with a view-profile role to manage the resources in the new account console. This flaw allows a user with a view-profile role to access and modify data for which the user does not have adequate permission.

    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 →
  2. High, CVSS 7.2MavenPublished

    Privilege Defined With Unsafe Actions in Keycloak

    CVE-2019-10170 · GHSA-7m27-3587-83xf

    Affected
    • Maven org.keycloak:keycloak-core < 8.0.0
    Fixed in
    8.0.0· Vendor fix available
    Issue
    A flaw was found in the Keycloak admin console, where the realm management interface permits a script to be set via the policy. This flaw allows an attacker with authenticated user and realm management permissions to configure a malicious script to trigger and execute arbitrary code with the permissions of the application user.

    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 →
  3. Medium, CVSS 5.6MavenPublished

    Exposure of Sensitive Information in keycloak

    CVE-2020-1744 · GHSA-4gf2-xv97-63m2

    Affected
    • Maven org.keycloak:keycloak-core < 9.0.1
    Fixed in
    9.0.1· Vendor fix available
    Issue
    A flaw was found in keycloak before version 9.0.1. When configuring an Conditional OTP Authentication Flow as a post login flow of an IDP, the failure login events for OTP are not being sent to the brute force protection event queue. So BruteForceProtector does not handle this events.

    Recommended action: Upgrade to 9.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 →
  4. Critical, CVSS 9.6MavenPublished

    keycloak Self Stored Cross-site Scripting vulnerability

    CVE-2021-20195 · GHSA-q6w2-89hq-hq27

    Affected
    • Maven org.keycloak:keycloak-core < 13.0.0
    Fixed in
    13.0.0· Vendor fix available
    Issue
    A flaw was found in keycloak in versions before 13.0.0. A Self Stored XSS attack vector escalating to a complete account takeover is possible due to user-supplied data fields not being properly encoded and Javascript code being used to process the data. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

    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 →
  5. Critical, CVSS 9.8MavenPublished

    Predictable password in Keycloak

    CVE-2020-1731 · GHSA-6pmv-7pr9-cgrj

    Affected
    • Maven org.keycloak:keycloak-core < 8.0.2
    Fixed in
    8.0.2· Vendor fix available
    Issue
    A flaw was found in all versions of the Keycloak operator, before version 8.0.2,(community only) where the operator generates a random admin password when installing Keycloak, however the password remains the same when deployed to the same OpenShift namespace.

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

    XSS in Keycloak

    CVE-2020-1697 · GHSA-8vf3-4w62-m3pq

    Affected
    • Maven org.keycloak:keycloak-core < 9.0.0
    Fixed in
    9.0.0· Vendor fix available
    Issue
    It was found in all keycloak versions before 9.0.0 that links to external applications (Application Links) in the admin console are not validated properly and could allow Stored XSS attacks. An authed malicious user could create URLs to trick users in other realms, and possibly conduct further attacks.

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

    Exposure of Sensitive Information to an Unauthorized Actor in Keycloak

    CVE-2019-14820 · GHSA-xfqh-7356-vqjj

    Affected
    • Maven org.keycloak:keycloak-core < 8.0.0
    Fixed in
    8.0.0· Vendor fix available
    Issue
    It was found that keycloak before version 8.0.0 exposes internal adapter endpoints in org.keycloak.constants.AdapterConstants, which can be invoked via a specially-crafted URL. This vulnerability could allow an attacker to access unauthorized information.

    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 →
  8. High, CVSS 8.8MavenPublished

    Improper Input Validation and Cross-Site Request Forgery in Keycloak

    CVE-2019-10199 · GHSA-p5xp-6vpf-jwvh

    Affected
    • Maven org.keycloak:keycloak-core <= 6.0.1
    Fixed in
    7.0.0· Vendor fix available
    Issue
    It was found that Keycloak's account console, up to 6.0.1, did not perform adequate header checks in some requests. An attacker could use this flaw to trick an authenticated user into performing operations via request from an untrusted domain.

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

    Improper Verification of Cryptographic Signature in keycloak

    CVE-2019-10201 · GHSA-4fgq-gq9g-3rw7

    Affected
    • Maven org.keycloak:keycloak-core <= 6.0.1
    Fixed in
    7.0.0· Vendor fix available
    Issue
    It was found that Keycloak's SAML broker, versions up to 6.0.1, did not verify missing message signatures. If an attacker modifies the SAML Response and removes the <Signature sections, the message is still accepted, and the message can be modified. An attacker could use this flaw to impersonate other users and gain access to sensitive information.

    Recommended action: Upgrade to 7.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 →
  10. Low, CVSS 3.8MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor in Keycloak

    CVE-2019-3868 · GHSA-gc52-xj6p-9pxp

    Affected
    • Maven org.keycloak:keycloak-core < 6.0.0
    Fixed in
    6.0.0· Vendor fix available
    Issue
    Keycloak up to version 6.0.0 allows the end user token (access or id token JWT) to be used as the session cookie for browser sessions for OIDC. As a result an attacker with access to service provider backend could hijack user?s browser session.

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

    Improper Authentication in Keycloak

    CVE-2018-14637 · GHSA-gf2j-7qwg-4f5x

    Affected
    • Maven org.keycloak:keycloak-core < 4.6.0
    Fixed in
    4.6.0· Vendor fix available
    Issue
    The SAML broker consumer endpoint in Keycloak before version 4.6.0.Final ignores expiration conditions on SAML assertions. An attacker can exploit this vulnerability to perform a replay attack.

    Recommended action: Upgrade to 4.6.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.5MavenPublished

    Keycloak vulnerable to uncontrolled resource consumption

    CVE-2014-3651 · GHSA-r32r-3977-cgc3

    Affected
    • Maven org.keycloak:keycloak-core < 1.0.3
    Fixed in
    1.0.3· Vendor fix available
    Issue
    JBoss KeyCloak versions prior to 1.0.3.Final allow remote attackers to create a denial of service (resource consumption) by supplying a large value in the size parameter to auth/qrcode, related to QR code generation.

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

    Moderate severity vulnerability that affects org.keycloak:keycloak-core

    CVE-2017-12161 · GHSA-959q-32g8-vvp7

    Affected
    • Maven org.keycloak:keycloak-core < 3.4.2
    Fixed in
    3.4.2· Vendor fix available
    Issue
    It was found that keycloak before 3.4.2 final would permit misuse of a client-side /etc/hosts entry to spoof a URL in a password reset request. An attacker could use this flaw to craft a malicious password reset request and gain a valid reset token, leading to information disclosure or further attacks.

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

    Moderate severity vulnerability that affects org.keycloak:keycloak-core

    CVE-2018-10912 · GHSA-h7j7-pw3v-3v3x

    Affected
    • Maven org.keycloak:keycloak-core < 4.0.0
    Fixed in
    4.0.0· Vendor fix available
    Issue
    keycloak before version 4.0.0.final is vulnerable to a infinite loop in session replacement. A Keycloak cluster with multiple nodes could mishandle an expired session replacement and lead to an infinite loop. A malicious authenticated user could use this flaw to achieve Denial of Service on the server.

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

    keycloak-core discloses system properties

    CVE-2017-2582 · GHSA-c77r-6f64-478q

    Affected
    • Maven org.keycloak:keycloak-core < 2.5.1
    Fixed in
    2.5.1· Vendor fix available
    Issue
    It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the "InResponseTo" field in the response.

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

    Keycloak vulnerable to infinite loop based Denial of Service

    CVE-2017-2646 · GHSA-jc6q-27mw-p55w

    Affected
    • Maven org.keycloak:keycloak-core < 2.5.5
    Fixed in
    2.5.5· Vendor fix available
    Issue
    When Keycloak versions prior to 2.5.5 receive a Logout request with an Extensions in the middle of the request, the SAMLSloRequestParser.parse() method ends in an infinite loop. An attacker could use this flaw to conduct denial of service attacks.

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

    Improper Authentication in org.keycloak:keycloak-core

    CVE-2016-8609 · GHSA-95m6-mjh3-58gm

    Affected
    • Maven org.keycloak:keycloak-core < 2.3.0
    Fixed in
    2.3.0· Vendor fix available
    Issue
    It was found that the keycloak before 2.3.0 did not implement authentication flow correctly. An attacker could use this flaw to construct a phishing URL, from which he could hijack the user's session. This could lead to information disclosure, or permit further possible attacks.

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

    Moderate severity vulnerability that affects org.keycloak:keycloak-core

    CVE-2016-8629 · GHSA-778x-2mqv-w6xw

    Affected
    • Maven org.keycloak:keycloak-core < 2.4.0
    Fixed in
    2.4.0· Vendor fix available
    Issue
    Red Hat Keycloak before version 2.4.0 did not correctly check permissions when handling service account user deletion requests sent to the rest server. An attacker with service account authentication could use this flaw to bypass normal permissions and delete users in a separate realm.

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

    keycloak-core vulnerable to timing attacks against JWS token verification

    CVE-2017-2585 · GHSA-w6gv-3r3v-gwgj

    Affected
    • Maven org.keycloak:keycloak-core < 2.5.1
    Fixed in
    2.5.1· Vendor fix available
    Issue
    Red Hat Keycloak before version 2.5.1 has an implementation of HMAC verification for JWS tokens that uses a method that runs in non-constant time, potentially leaving the application vulnerable to timing attacks.

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