---
id: CVE-2024-5971
title: >-
  A vulnerability was found in Undertow, where the chunked response hangs after
  the body was flushed
summary: >-
  A vulnerability was found in Undertow, where the chunked response hangs after
  the body was flushed. The response headers and body were sent but the client
  would continue waiting as Undertow does not send the expected 0\r\n
  termination of…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-674
published: '2024-07-08'
updated: '2026-08-08'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-5971'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:4392'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:4884'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:5143'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:5144'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:5145'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:5147'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6508'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:6883'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-5971'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2292211'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2024:4392'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2024:4884'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/security/cve/CVE-2024-5971'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2292211'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20240828-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.02921
epssPercentile: 0.86487
ingestedAt: '2026-08-08T17:23:14.382Z'
---

## Overview

A vulnerability was found in Undertow, where the chunked response hangs after the body was flushed. The response headers and body were sent but the client would continue waiting as Undertow does not send the expected 0\r\n termination of the chunked response. This results in uncontrolled resource consumption, leaving the server side to a denial of service attack. This happens only with Java 17 TLSv1.3 scenarios.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
