Skip to content
Medium 6.5

Vulnerability in keycloak

CVE-2024-4629 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2024-4629 has been found in keycloak.
Risk of unauthorized operations or information disclosure.
What to do: upgrade keycloak to 22.12.0 or later.
If unsure, ask your IT team or search "keycloak CVE-2024-4629" on the vendor's site.

CVE-2024-4629 (keycloak) — CWE-837
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 22.12.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-837) exists in keycloak.

Affected scope

Check the vendor advisory for the affected versions of keycloak.

Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

How to fix

Update to 22.12.0.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'keycloak' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'keycloak' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で keycloak を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade keycloak to 22.12.0

    ステージング環境で 22.12.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Bitnamikeycloak
≥ 22.0.0, < 22.12.0→ 22.12.0
GitHubkeycloak —
Red HatRed Hat Build of Keycloak —
Red HatRed Hat build of Keycloak 22 —
Red HatRed Hat Single Sign-On 7 —
Red HatRed Hat Single Sign-On 7.6 for RHEL 7 —
Red HatRed Hat Single Sign-On 7.6 for RHEL 8 —
Red HatRed Hat Single Sign-On 7.6 for RHEL 9 —
Red HatRHEL-8 based Middleware Containers —
Red HatRed Hat JBoss Enterprise Application Platform 8 —
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details