Security Resilience

CVE-2024-4629

Redhat Keycloak ≤ 24.0.3

Published
03 September 2024
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.0079 57th percentile
Risk Priority 53 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-4629 is a medium-severity Improper Enforcement of a Single, Unique Action (CWE-837) vulnerability in Redhat Keycloak. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 43% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

locks them out. This timing loophole enables attackers to make more guesses at passwords than intended, potentially compromising account security on affected systems.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.003 Application Exhaustion Flood Impact
Adversaries may target resource intensive features of applications to cause a denial of service (DoS), denying availability to those applications.
T1499.002 Service Exhaustion Flood Impact
Adversaries may target the different network services provided by systems to conduct a denial of service (DoS).
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-6134Same product: Redhat Keycloak
CVE-2023-6563Same product: Redhat Keycloak
CVE-2023-6291Same product: Redhat Keycloak
CVE-2023-0264Same product: Redhat Keycloak
CVE-2024-1132Same product: Redhat Keycloak
CVE-2023-2585Same vendor: Redhat
CVE-2023-3089Same vendor: Redhat
CVE-2024-8883Same vendor: Redhat
CVE-2023-3223Same vendor: Redhat
CVE-2023-5625Same vendor: Redhat

Affected Assets

redhat
keycloak
≤ 24.0.3
redhat
build of keycloak
22.0 — 22.012
redhat
single sign-on
all versions · 7.6 — 7.6.10
redhat
openshift container platform
4.11, 4.12
redhat
openshift container platform for linuxone
4.10, 4.9
redhat
openshift container platform for power
4.10, 4.9
redhat
openshift container platform ibm z systems
4.10, 4.9

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V6.3.3
  • V6.5.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 enforces approved authorizations for actions; when policy requires an action to occur only once, proper enforcement directly stops duplicate execution.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 partial match
blocks

Authorization policy enforcement can include rules that restrict actions to a single use.

PR.IR-01 partial match
blocks

Logical access controls can incorporate mechanisms that block replay or repeated actions.

PR.PS-05 partial match
blocks

Preventing execution of unauthorized or duplicate actions directly addresses single-use enforcement.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

prevents

Secure-coding standards can mandate checks that prevent repeated actions, but the control covers many coding issues.

finds

A.8.29's SOURCE+RUNTIME reach can surface CWE-837 through code review of state-management logic and through penetration testing that specifically exercises uniqueness constraints, but this is a business-logic flaw that automated SAST/DAST/vulnerability scanners do not reliably detect — discovery depends on the test plan enumerating the 'single action' requirement and on reviewer attention to state handling, so a well-implemented programme finds a minority of latent instances rather than the bulk.

References