CVE-2021-3513
HIGH 7.5CVSS 3.1Incorrect implementation of lockout feature in Keycloak
A flaw was found in keycloak where a brute force attack is possible even when the permanent lockout feature is enabled. This is due to a wrong error message displayed when wrong credentials are entered. The highest threat from this vulnerability is to confidentiality.
- Published
- 22 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-209CWE-522
- Also known as
- GHSA-xv7h-95r7-595j
- Sources
- NVDJSONOSV GHSA-xv7h-95r7-595jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
< 13.0.0 | 13.0.0 |
| OSV | Maven | org.keycloak:keycloak-parent | < 13.0.0 | 13.0.0 |
References
- https://access.redhat.com/security/cve/CVE-2021-3513 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1953439 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3513 · ADVISORY
- https://github.com/keycloak/keycloak/pull/7976 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 22 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Aug 2022)