The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-6841

CVE-2023-6841: Redhat Keycloak DOS Vulnerability

CVE-2023-6841 is a denial of service vulnerability in Redhat Keycloak caused by unlimited attributes per object. Attackers can exhaust resources through repeated HTTP requests. This article covers technical details, impact, and mitigation.

Published: February 4, 2026

CVE-2023-6841 Overview

A denial of service vulnerability was discovered in Red Hat Keycloak where the amount of attributes per object is not limited. An attacker can exploit this weakness by sending repeated HTTP requests, causing resource exhaustion when the application responds with rows containing long attribute values. This resource exhaustion vulnerability affects the availability of identity and access management services that depend on Keycloak.

Critical Impact

Attackers can exhaust server resources through repeated HTTP requests, causing denial of service for authentication and authorization services that rely on Keycloak.

Affected Products

  • Red Hat Keycloak
  • Red Hat Single Sign-On 7.0

Discovery Timeline

  • 2024-09-10 - CVE-2023-6841 published to NVD
  • 2024-10-01 - Last updated in NVD database

Technical Details for CVE-2023-6841

Vulnerability Analysis

This vulnerability stems from a lack of proper input validation and resource limits within Keycloak's object attribute handling mechanism. The application fails to enforce a maximum limit on the number or size of attributes that can be associated with objects. When the server processes and returns data containing objects with numerous or excessively long attribute values, it consumes significant memory and CPU resources.

The attack leverages network-accessible endpoints without requiring authentication. An attacker can repeatedly send crafted HTTP requests that trigger the application to process and return objects with large attribute payloads, progressively exhausting server resources until the service becomes unresponsive.

Root Cause

The root cause is classified under CWE-231, which relates to improper handling of extra values. Keycloak's internal data structures do not impose adequate constraints on the quantity or length of attributes that can be stored and retrieved per object. This design flaw allows unbounded data accumulation, creating a condition where legitimate resource limits are easily exceeded through malicious input.

Attack Vector

The vulnerability is exploitable over the network with low attack complexity. No authentication or user interaction is required, making it accessible to remote unauthenticated attackers. The attack pattern involves:

  1. Identifying Keycloak endpoints that handle object attributes
  2. Sending multiple HTTP requests to create or retrieve objects with excessive attributes
  3. Forcing the server to allocate memory for long attribute values during response generation
  4. Repeating requests to progressively exhaust available server resources
  5. Achieving denial of service when the application can no longer process legitimate requests

This resource exhaustion attack specifically impacts availability while confidentiality and integrity remain unaffected.

Detection Methods for CVE-2023-6841

Indicators of Compromise

  • Abnormally high memory consumption on Keycloak application servers
  • Elevated CPU utilization during HTTP request processing
  • Increased response times for authentication and authorization requests
  • Server logs showing repeated requests with unusually large payload sizes
  • Out-of-memory errors or application crashes in Keycloak services

Detection Strategies

  • Monitor HTTP request patterns for unusual volume or payload sizes targeting Keycloak endpoints
  • Implement application performance monitoring (APM) to detect resource consumption anomalies
  • Configure alerts for memory threshold breaches on servers hosting Keycloak
  • Analyze web server access logs for repeated requests from single sources targeting attribute-related APIs
  • Deploy rate limiting at the network edge to identify potential DoS attack patterns

Monitoring Recommendations

  • Establish baseline metrics for normal Keycloak resource utilization and alert on deviations
  • Enable verbose logging for attribute-related operations to capture suspicious activity
  • Monitor connection queues and request processing times for early warning signs
  • Implement network-level traffic analysis to detect volumetric attack patterns
  • Configure automated scaling or circuit breakers to mitigate resource exhaustion impacts

How to Mitigate CVE-2023-6841

Immediate Actions Required

  • Review the Red Hat CVE-2023-6841 Advisory for official guidance and patches
  • Implement rate limiting on Keycloak endpoints to restrict request frequency from individual sources
  • Configure web application firewall rules to limit request payload sizes
  • Monitor Keycloak services for signs of resource exhaustion attacks
  • Plan maintenance windows to apply vendor patches when available

Patch Information

Red Hat has acknowledged this vulnerability and is tracking it in Bug Report #2254714. Organizations should monitor the official Red Hat security advisories for patch availability and upgrade to fixed versions of Keycloak and Red Hat Single Sign-On when released. Consult the vendor advisory for specific version information and patch deployment instructions.

Workarounds

  • Deploy a reverse proxy or load balancer with request rate limiting to throttle excessive requests
  • Configure resource limits at the application server level to prevent complete exhaustion
  • Implement network-level controls to restrict access to Keycloak endpoints from trusted sources only
  • Enable request size limits in web server configurations to reject abnormally large payloads
  • Consider deploying Keycloak behind a web application firewall with DoS protection capabilities
bash
# Example nginx rate limiting configuration
limit_req_zone $binary_remote_addr zone=keycloak_limit:10m rate=10r/s;

server {
    location /auth/ {
        limit_req zone=keycloak_limit burst=20 nodelay;
        proxy_pass http://keycloak_backend;
    }
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRedhat Keycloak

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-231

  • NVD-CWE-noinfo
  • Vendor Resources
  • Red Hat CVE-2023-6841 Advisory

  • Red Hat Bug Report #2254714
  • Related CVEs
  • CVE-2023-0091: Redhat Keycloak Auth Bypass Vulnerability

  • CVE-2023-0105: Redhat Keycloak Auth Bypass Vulnerability

  • CVE-2022-3782: Keycloak Path Traversal Vulnerability

  • CVE-2023-6927: Redhat Keycloak Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English