CVE-2023-6841
Keycloak Denial of Service vulnerability
Description
A denial of service vulnerability was found in keycloak where the amount of attributes per object is not limited, an attacker by sending repeated HTTP requests could cause a resource exhaustion when the application send back rows with long attribute values. The issue is fixed in Keycloak 24 with the introduction of the User Profile feature.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-core | < 24.0.0 | 24.0.0 |
Blast radius
69% of the dependent artifacts (1,050) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 12,838 |
| 2 hops | 17,785 |
| 3 hops | 13,830 |
| 4 hops | 4,083 |
| 5 hops | 2,660 |
| 6 hops | 639 |
Most used dependents
- org.keycloak » keycloak-services223 usages
- org.keycloak » keycloak-admin-client216 usages
- org.alfresco » alfresco-repository121 usages
- com.github.dasniko » testcontainers-keycloak113 usages
- org.keycloak » keycloak-authz-client98 usages
- org.keycloak » keycloak-spring-boot-starter93 usages
- org.alfresco » alfresco-remote-api67 usages
- org.keycloak » keycloak-model-jpa62 usages
- org.keycloak » keycloak-spring-security-adapter56 usages
- org.keycloak » keycloak-undertow-adapter48 usages
- org.commonjava.indy » indy-core43 usages
- city.smartb.i2 » keycloak-auth-client42 usages
- io.apicurio » apicurio-registry-common42 usages
- org.alfresco » share37 usages
- io.apicurio » apicurio-registry-utils-converter37 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-6841 | nvd.nist.gov |
| Package | keycloak/keycloak | github.com |
| Web | keycloak/keycloak issue #32837 | github.com |
| Web | security/cve/CVE-2023-6841 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | keycloak/keycloak release 24.0.0 | github.com |
