# CVE-2021-3513: Incorrect implementation of lockout feature in Keycloak

Source: https://junglewise.ai/threats/cve-2021-3513-incorrect-implementation-of-lockout-feature-in-keycloak  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-08-23  
License: CC BY 4.0 with a link back

CVE-2021-3513 · Severity: low · CVSS 3.1 · Published 2022-08-23

Incorrect implementation of lockout feature in Keycloak

Technologies: [org.keycloak:keycloak-parent (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-parent). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-3513 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-3513 being exploited in the wild.

**How severe is CVE-2021-3513?** Low severity, with a CVSS score of 3.1, published 23 August 2022.

**Which products and versions are affected?** org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=13.0.0.

**Is there a fix for CVE-2021-3513?** Yes. org.keycloak:keycloak-parent (Maven): upgrade to 13.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-3513?** Check whether you run org.keycloak:keycloak-parent (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.keycloak:keycloak-parent (Maven): upgrade to 13.0.0 or later

  ```sh
  # set org.keycloak:keycloak-parent to 13.0.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.keycloak:keycloak-parent (Maven) ECOSYSTEM:introduced=0,fixed=13.0.0

## Identifiers

- CVE-2021-3513
- GHSA-xv7h-95r7-595j

## Related threats

- [Keycloak SSRF in client registration and backchannel notification URIs](https://junglewise.ai/threats/cve-2026-1518-keycloak-ssrf-in-client-registration-and-backchannel-notification)
- [Keycloak permissive Authorization header parsing bypass](https://junglewise.ai/threats/cve-2026-0707-keycloak-permissive-authorization-header-parsing-bypass)
- [Duplicate Advisory: Keycloak Open Redirect vulnerability](https://junglewise.ai/threats/duplicate-advisory-keycloak-open-redirect-vulnerability-32d9749a)
- [Keycloak Cross-site Scripting on OpenID connect login service](https://junglewise.ai/threats/cve-2022-4137-keycloak-cross-site-scripting-on-openid-connect-login-service)
- [Keycloak vulnerable to path traversal via double URL encoding](https://junglewise.ai/threats/cve-2022-3782-keycloak-vulnerable-to-path-traversal-via-double-url-encoding)
