CVE-2021-3513
Java vulnerability analysis and mitigation

Overview

A vulnerability was identified in Keycloak (CVE-2021-3513) where a brute force attack remains possible even when the permanent lockout feature is enabled. The flaw was discovered due to incorrect error messages being displayed when wrong credentials are entered. The vulnerability affects Keycloak versions up to (excluding) 13.0.0 (NVD, Red Hat CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The flaw is categorized under CWE-209 (Generation of Error Message Containing Sensitive Information) and CWE-522 (Insufficiently Protected Credentials). The vulnerability allows attackers to determine valid credentials through error message differentiation, even when account lockout is enabled (NVD).

Impact

The primary impact of this vulnerability is on confidentiality. When exploited, it allows malicious actors to continue attempting to guess valid credentials even after an account is locked, as the system provides different error messages for correct passwords on locked accounts versus incorrect passwords (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in Keycloak version 13.0.0. Red Hat has released several security updates to address this issue across different platforms through multiple security advisories: RHSA-2021:3527, RHSA-2021:3528, RHSA-2021:3529, and RHSA-2021:3534 (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • trino
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management