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-2022-1319

CVE-2022-1319: Red Hat OpenShift Runtimes DoS Flaw

CVE-2022-1319 is a denial of service vulnerability in Red Hat OpenShift Application Runtimes affecting Undertow's AJP protocol handling. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 11, 2026

CVE-2022-1319 Overview

A flaw was found in Undertow, a lightweight web server written in Java that is used as the default web server in Red Hat JBoss Enterprise Application Platform. The vulnerability occurs in the Apache JServ Protocol (AJP) handling where, for an AJP 400 response, EAP 7 improperly sends two response packets with the reuse flag set even though JBoss EAP closes the connection. This results in a failure when the connection is reused after a 400 response by CPING, as it reads in the second SEND_HEADERS response packet instead of an expected CPONG response.

Critical Impact

This vulnerability can lead to denial of service conditions affecting application availability when AJP protocol connections are improperly reused following error responses.

Affected Products

  • Red Hat Undertow (versions prior to fix, including 2.2.17, 2.2.17.SP1, 2.2.17.SP2, 2.2.19, 2.2.19.SP1, and 2.3.0.Alpha1)
  • Red Hat OpenShift Application Runtimes
  • Red Hat Single Sign-On 7.0
  • NetApp Active IQ Unified Manager (Linux, VMware vSphere, Windows)
  • NetApp Cloud Secure Agent
  • NetApp OnCommand Insight
  • NetApp OnCommand Workflow Automation

Discovery Timeline

  • 2022-08-31 - CVE-2022-1319 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-1319

Vulnerability Analysis

This vulnerability stems from improper handling of AJP protocol response packets in Undertow's AjpReadListener.java implementation. The AJP (Apache JServ Protocol) is a binary protocol used for communication between a web server and an application server, commonly used in JBoss EAP deployments behind Apache HTTP Server with mod_jk or mod_proxy_ajp.

The core issue lies in the END_RESPONSE byte array definition where the reuse flag was incorrectly set to 1 instead of 0. When a 400 Bad Request response is generated, Undertow sends both a SEND_HEADERS packet and an END_RESPONSE packet. With the reuse flag set to 1, the protocol indicates that the connection should be kept alive for subsequent requests. However, JBoss EAP actually closes the connection after the 400 response, creating an inconsistent state.

When the front-end proxy attempts to reuse this connection and sends a CPING packet (a keep-alive probe), it expects a CPONG response. Instead, it receives the stale SEND_HEADERS packet from the previous failed request, causing connection handling to fail and resulting in service disruption.

Root Cause

The vulnerability is classified under CWE-252 (Unchecked Return Value). The root cause is a hardcoded misconfiguration in the END_RESPONSE byte array within AjpReadListener.java. The final byte in the array (the reuse flag) was set to 1, indicating connection reuse should occur, when it should have been 0 to properly signal that the connection should not be reused after error responses.

Attack Vector

An attacker can exploit this vulnerability remotely over the network without requiring authentication or user interaction. The attack scenario involves:

  1. Sending malformed requests that trigger 400 Bad Request responses from the Undertow server
  2. The dual response packets with incorrect reuse flags corrupt the AJP connection state
  3. Subsequent legitimate requests on the reused connection fail when CPING/CPONG handshakes malfunction
  4. Repeated exploitation can cause cascading connection failures leading to denial of service
java
// Security patch in AjpReadListener.java - Fix for UNDERTOW-2060
// Source: https://github.com/undertow-io/undertow/commit/1443a1a2bbb8e32e56788109d8285db250d55c8b

    private static final byte[] CPONG = {'A', 'B', 0, 1, 9};
    private static final byte[] SEND_HEADERS_INTERNAL_SERVER_ERROR_MSG = {'A', 'B', 0, 8, 4, (byte)((500 >> 8) & 0xFF) , (byte)(500 & 0xFF), 0, 0, '\0', 0, 0};
    private static final byte[] SEND_HEADERS_BAD_REQUEST_MSG = {'A', 'B', 0, 8, 4, (byte)((400 >> 8) & 0xFF) , (byte)(400 & 0xFF), 0, 0, '\0', 0, 0};
-   private static final byte[] END_RESPONSE = {'A', 'B', 0, 2, 5, 1};
+   private static final byte[] END_RESPONSE = {'A', 'B', 0, 2, 5, 0};

    private final AjpServerConnection connection;
    private final String scheme;

The fix changes the final byte of the END_RESPONSE array from 1 to 0, correctly signaling that the connection should not be reused after sending an error response.

Detection Methods for CVE-2022-1319

Indicators of Compromise

  • Unusual spikes in AJP protocol connection errors in application server logs
  • Repeated CPING timeout failures or unexpected response packet errors from load balancers or proxies
  • Elevated rates of 400 Bad Request responses followed by connection failures
  • Service disruptions occurring specifically after malformed request handling

Detection Strategies

  • Monitor Undertow and JBoss EAP logs for AJP connection reuse failures and CPING/CPONG handshake errors
  • Implement network-level monitoring for abnormal AJP protocol traffic patterns on port 8009
  • Deploy application performance monitoring to detect increased connection establishment rates indicative of failed reuse attempts
  • Review web server proxy logs (Apache mod_jk or mod_proxy_ajp) for connection pool exhaustion or stale connection errors

Monitoring Recommendations

  • Configure alerting on JBoss EAP for AJP listener exceptions and connection state anomalies
  • Establish baseline metrics for AJP connection reuse rates and alert on significant deviations
  • Monitor for patterns of 400 responses immediately followed by connection failures
  • Implement health checks that specifically test AJP connection reuse functionality

How to Mitigate CVE-2022-1319

Immediate Actions Required

  • Upgrade Undertow to a patched version that includes the fix for UNDERTOW-2060
  • Update JBoss EAP to the latest security patch release that incorporates the Undertow fix
  • Review and apply patches for any NetApp products using vulnerable Undertow versions
  • Consider temporarily switching to HTTP protocol instead of AJP if immediate patching is not possible

Patch Information

Red Hat has released security updates addressing this vulnerability. Patches are available through the following resources:

  • Red Hat CVE-2022-1319 Advisory - Official Red Hat security advisory
  • Red Hat Bug Report #2073890 - Bug tracking information
  • GitHub Undertow Commit Update #1 - Primary fix commit
  • GitHub Undertow Commit Update #2 - Merge commit for UNDERTOW-2060
  • NetApp Security Advisory ntap-20221014-0006 - NetApp product advisory

Workarounds

  • Disable AJP protocol and use HTTP/HTTPS for communication between the web server and application server
  • Implement request rate limiting at the proxy layer to reduce the impact of potential DoS attacks
  • Configure connection timeouts and maximum retry limits to prevent cascading failures
  • Deploy web application firewalls to filter malformed requests before they reach the application server
bash
# Example: Disable AJP listener in JBoss EAP standalone.xml
# Replace AJP configuration with HTTP-only setup

# Remove or comment out the AJP listener
# <ajp-listener name="ajp" socket-binding="ajp"/>

# Ensure HTTP/HTTPS listeners are configured
# <http-listener name="default" socket-binding="http" redirect-socket="https"/>
# <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm"/>

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechRedhat Openshift

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.19%

  • 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-252
  • Technical References
  • NetApp Security Advisory ntap-20221014-0006
  • Vendor Resources
  • Red Hat CVE-2022-1319 Advisory

  • Red Hat Bug Report #2073890

  • GitHub Undertow Commit Update #1

  • GitHub Undertow Commit Update #2

  • Red Hat Undertow Issue UNDERTOW-2060
  • Related CVEs
  • CVE-2023-2253: Red Hat OpenShift API DoS Vulnerability

  • CVE-2024-50312: OpenShift Container Platform Disclosure Flaw
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