cve.bz

CVE-2024-1722 redhat keycloak

5.3 mediumEPSS 0.8%Fix available

Medium (5.3) in redhat keycloak. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 24.0.0.

On this page
A flaw was found in Keycloak. In certain conditions, this issue may allow a remote unauthenticated attacker to block other accounts from logging in.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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; 55th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-29. 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-645 Overly Restrictive Account Lockout Mechanism
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

  • org.keycloak:keycloak-services (Maven): fixed in 24.0.0

Ask an AI about this CVE

Show the promptExplain CVE-2024-1722 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-1722?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-1722?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-1722 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 NVD's CPE matches.

ProductAffected
redhat:keycloak23.0.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cq42-vhv7-xr7pMavenorg.keycloak:keycloak-services<24.0.024.0.0

Red Hat

Red Hat rates this Low.

Red Hat's statement

While this attack enables locking out an individual from their account, the entire system will remain in operation. The follow conditions are required for successful exploitation:

- The realm is configured to use "User (Self) registration"

- The user registers with a username in email format

- The attacker discovers a valid email address for an account

Due to these conditions, the security impact has been rated Low.

Red Hat's mitigation

Red Hat Product Security is not aware of a way to completely mitigate this issue. However, the following techniques can be used to help prevent exploitation:

- Put limits on frequency of account registration, restricting how often an attacker could utilize this attack

- Restrict new account registration to not allow email addresses in the username field, for example, by not allowing the "@" symbol. Note: this cannot prevent attacks against existing users who have registered with an email address.

If this vulnerability has been triggered, an administrator has two options to remedy it manually by modifying the second account (of the attacker):

- Delete the account

- Change the username

ProductPackageStateAdvisory
Red Hat Build of Keycloakkeycloak-coreAffected
Red Hat Single Sign-On 7rh-sso7-keycloakFix deferred

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-1722.

Attack patterns (CAPEC)

  • CAPEC-2 Inducing Account Lockout Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON