CVE-2023-6841
Keycloak: amount of attributes per object is not limited and it may lead to dos
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.74% · top 45% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
keycloak
- affected < 24.0.0
Red Hat · Red Hat build of Quarkus
All versions: unaffected
All versions: unaffected
Red Hat · Red Hat Mobile Application Platform 4
All versions: unaffected
Red Hat · Red Hat OpenShift Application Runtimes
All versions: unaffected
Red Hat · Red Hat Process Automation 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: affected
Red Hat · Red Hat support for Spring Boot
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-coreGHSA-w97f-w3hq-36g2 (opens in a new tab)
What to do
Workaround: This CVE is mitigated by the 'User Profile' functionality, which was introduced in Keycloak 24. This feature introduces additional validation which prevents this vulnerability from being exploited.
References (2)
- https://access.redhat.com/security/cve/CVE-2023-6841 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2254714 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-w97f-w3hq-36g2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-6841)Record last updated .