1. Archivio CVE
  2. 2024
  3. CVE-2024-5971

CVE-2024-5971

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– undertow < 2.2.34.Final –
– undertow >= 2.3.0.Alpha1 < 2.3.15.Final –
redhat apache camel hawtio 4 –
redhat apache camel spring boot 3.20.7 –
redhat apache camel spring boot 4.4 –
redhat apache camel spring boot 4.4.2 –
redhat build keycloak tutte –
redhat camel k 1 –
redhat camel spring boot 3 –
redhat jboss bpms 7 –
redhat jboss data grid 8 –
redhat jboss data grid 7 –
redhat jboss enterprise application platform 7.4 –
redhat jboss enterprise application platform 7.4 –
redhat jboss enterprise application platform 7.4 –
redhat jboss enterprise application platform 7.4 –
redhat jboss enterprise application platform 8.0 –
redhat jboss enterprise application platform 7 –
redhat jboss fuse 7 –
redhat jbosseapxp tutte –
redhat quarkus 3 –
redhat red hat single sign on 7 –

Tipo di vulnerabilità

CWE-674 Ricorsione non controllata

Il prodotto non controlla la profondità della ricorsione, che può consumare risorse eccessive come la memoria o lo stack del programma.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo Ensure that an end condition will be reached under all logic conditions. The end condition may include checking against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Sviluppo Increase the stack size.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 665 CVE di tipo CWE-674, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org