Insufficiently protected credentials in keycloak
Priority LOW 34CWE-522Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-522.
Summary
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.
Why it matters now
EPSS 0.00795 56th percentileScored 2026-11-07
Fix Fixed org.keycloak:keycloak-parent (Maven): 13.0.0Red Hat: 4 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keycloak | Fixed in keycloak v13.0.0. | — | No fix listed | CNA |
| — | org.keycloak:keycloak-parent (Maven) | before 13.0.0 | 13.0.0 | Patch available | GHSA-xv7h-95r7-595j |
- keycloak Vendor— Affected Fixed in keycloak v13.0.0. Fixed in — No fix listed CNA
- org.keycloak:keycloak-parent (Maven) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-xv7h-95r7-595j
Remediation
- Fix · GHSA-xv7h-95r7-595j org.keycloak:keycloak-parent (Maven) Fixed in 13.0.0 Advisory →
Red Hat 4 advisories
- RHSA-2021:3534 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update
- Red Hat Single Sign-On 7.4.9
- RHSA-2021:3527 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update on RHEL 6
- Red Hat Single Sign-On 7.4 for RHEL 6 Server rh-sso7-keycloak-9.0.15-1.redhat_00002.1.el6sso, rh-sso7-keycloak-server-9.0.15-1.redhat_00002.1.el6sso
- RHSA-2021:3529 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update on RHEL 8
- Red Hat Single Sign-On 7.4 for RHEL 8 rh-sso7-keycloak-9.0.15-1.redhat_00002.1.el8sso, rh-sso7-keycloak-server-9.0.15-1.redhat_00002.1.el8sso
Show 1 more Red Hat advisories
- RHSA-2021:3528 Released 2021-09-14 · Red Hat rating ModerateRed Hat Single Sign-On 7.4.9 security update on RHEL 7
- Red Hat Single Sign-On 7.4 for RHEL 7 Server rh-sso7-keycloak-9.0.15-1.redhat_00002.1.el7sso, rh-sso7-keycloak-server-9.0.15-1.redhat_00002.1.el7sso
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Single Sign-On 7.4 for RHEL 6 Server | Fixed | RHSA-2021:3527 |
| Red Hat Single Sign-On 7.4 for RHEL 7 Server | Fixed | RHSA-2021:3528 |
| Red Hat Single Sign-On 7.4 for RHEL 8 | Fixed | RHSA-2021:3529 |
| Red Hat Single Sign-On 7.4.9 | Fixed | RHSA-2021:3534 |
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3513
- 2026-10-03 Alias added: GHSA-xv7h-95r7-595j
References
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2021-3513 · CVE Program
- CVE-2021-3513 · NVD
- FIRST EPSS
- GHSA-xv7h-95r7-595j · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3513 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences