cve.bz

CVE-2024-4629 redhat

6.5 mediumEPSS 0.8%Fix available

Medium (6.5) in redhat. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 22.0.12, 24.0.7, 25.0.4.

On this page
A vulnerability was found in Keycloak. This flaw allows attackers to bypass brute force protection by exploiting the timing of login attempts. By initiating multiple login requests simultaneously, attackers can exceed the configured limits for failed attempts before the system locks them out. This timing loophole enables attackers to make more guesses at passwords than intended, potentially compromising account security on affected systems.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-837 Improper Enforcement of a Single, Unique Action
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-4629 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-4629?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-4629?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-4629 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 2222.0.12-1
Red Hat build of Keycloak 2222-17
Red Hat build of Keycloak 2222-20
Red Hat Single Sign-On 7.6 for RHEL 70:18.0.16-1.redhat_00001.1.el7sso
Red Hat Single Sign-On 7.6 for RHEL 80:18.0.16-1.redhat_00001.1.el8sso
Red Hat Single Sign-On 7.6 for RHEL 90:18.0.16-1.redhat_00001.1.el9sso
Red Hat RHEL-8 based Middleware Containers7.6-52

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gc7q-jgjv-vjr2Mavenorg.keycloak:keycloak-services<22.0.1222.0.12
GHSA-gc7q-jgjv-vjr2Mavenorg.keycloak:keycloak-services>=23.0.0 <24.0.724.0.7
GHSA-gc7q-jgjv-vjr2Mavenorg.keycloak:keycloak-services>=25.0.0 <25.0.425.0.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatred_hat_single_sign_on:7.6::el7rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.16-1.redhat_00001.1.el7ssoRHSA-2024:6493
Red Hatred_hat_single_sign_on:7.6::el8rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.16-1.redhat_00001.1.el8ssoRHSA-2024:6494
Red Hatred_hat_single_sign_on:7.6::el9rh-sso7-keycloak, rh-sso7-keycloak-server0:18.0.16-1.redhat_00001.1.el9ssoRHSA-2024:6495

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is classified as low severity due to its potential impact on account security in Keycloak environments. By exploiting the timing between login attempts and the application of brute force protection, attackers can circumvent lockout mechanisms intended to prevent multiple failed authentication attempts. This allows attackers to increase the number of guesses they can make within the authentication system, potentially leading to unauthorized access to user accounts.

Red Hat has evaluated this vulnerability and it only affects the Red Hat Single Sign-On (RHSSO) and Red Hat Build of Keycloak (RHBK).

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Build of Keycloakorg.keycloak-keycloak-parentFixed 2024-09-09RHSA-2024:6501
Red Hat build of Keycloak 22rhbk/keycloak-operator-bundle:22.0.12-1Fixed 2024-09-09RHSA-2024:6500
Red Hat build of Keycloak 22rhbk/keycloak-rhel9:22-17Fixed 2024-09-09RHSA-2024:6500
Red Hat build of Keycloak 22rhbk/keycloak-rhel9-operator:22-20Fixed 2024-09-09RHSA-2024:6500
Red Hat Single Sign-On 7org.keycloak-keycloak-parentFixed 2024-09-09RHSA-2024:6499
Red Hat Single Sign-On 7.6 for RHEL 7rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el7ssoFixed 2024-09-09RHSA-2024:6493
Red Hat Single Sign-On 7.6 for RHEL 8rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el8ssoFixed 2024-09-09RHSA-2024:6494
Red Hat Single Sign-On 7.6 for RHEL 9rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el9ssoFixed 2024-09-09RHSA-2024:6495
RHEL-8 based Middleware Containersrh-sso-7/sso76-openshift-rhel8:7.6-52Fixed 2024-09-09RHSA-2024:6497
Red Hat JBoss Enterprise Application Platform 8org.keycloak-keycloak-parentNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-4629.

References

Check your stackJSON