CVE-2025-66560
JSON

5.9medium

Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5rfx-cp42-p624

Description

Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. Prior to versions 3.31.0, 3.27.2, and 3.20.5, a vulnerability exists in the HTTP layer of Quarkus REST related to response handling. When a response is being written, the framework waits for previously written response chunks to be fully transmitted before proceeding. If the client connection is dropped during this waiting period, the associated worker thread is never released and becomes permanently blocked. Under sustained or repeated occurrences, this can exhaust the available worker threads, leading to degraded performance, or complete unavailability of the application. This issue has been patched in versions 3.31.0, 3.27.2, and 3.20.5. A workaround involves implementing a health check that monitors the status and saturation of the worker thread pool to detect abnormal thread retention early.

Affected

Product or packageVersionsReported by
quarkusio quarkus>= 3.30.0, < 3.31.0, >= 3.21.0, < 3.27.2, < 3.20.5CVE List
io.quarkus:quarkus-rest (Maven)before 3.20.5, from 3.21.0 before 3.27.2, from 3.30.0 before 3.31.0GitHub Advisory Database
quarkus quarkusbefore 3.20.5, from 3.21.0 before 3.27.2, from 3.30.0 before 3.31.0NVD

All scores

GitHub_M5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. Prior to versions 3.31.0, 3.27.2, and 3.20.5, a vulnerability exists in the HTTP layer of Quarkus REST related to response handling. When a response is being written, the framework waits for previously written response chunks to be fully transmitted before proceeding. If the client connection is dropped during this waiting period, the associated worker thread is never released and becomes permanently blocked. Under sustained or repeated occurrences, this can exhaust the available worker threads, leading to degraded performance, or complete unavailability of the application. This issue has been patched in versions 3.31.0, 3.27.2, and 3.20.5. A workaround involves implementing a health check that monitors the status and saturation of the worker thread pool to detect abnormal thread retention early.

GitHub Advisory Database

A vulnerability exists in the HTTP layer of Quarkus REST related to response handling. When a response is being written, the framework waits for previously written response chunks to be fully transmitted before proceeding. If the client connection is dropped during this waiting period, the associated worker thread is never released and becomes permanently blocked. Under sustained or repeated occurrences, this can exhaust the available worker threads, leading to degraded performance, or complete unavailability of the application.

Workarounds

For versions without the fix applied, it is recommended to implement a health check that monitors the status and saturation of the worker thread pool. This helps detect abnormal thread retention early and allows operators to take corrective action before the application’s responsiveness is impacted.

Credits

CVE reported by Shaswata Jash, Nokia

NVD (es)

Quarkus es un framework Cloud Native, (Linux) Contenedor First para escribir aplicaciones Java. Antes de las versiones 3.31.0, 3.27.2 y 3.20.5, existe una vulnerabilidad en la capa HTTP de Quarkus REST relacionada con el manejo de respuestas. Cuando se está escribiendo una respuesta, el framework espera a que los fragmentos de respuesta escritos previamente se transmitan completamente antes de continuar. Si la conexión del cliente se cae durante este período de espera, el hilo de trabajador asociado nunca se libera y queda permanentemente bloqueado. Bajo ocurrencias sostenidas o repetidas, esto puede agotar los hilos de trabajador disponibles, lo que lleva a un rendimiento degradado o a la indisponibilidad completa de la aplicación. Este problema ha sido parcheado en las versiones 3.31.0, 3.27.2 y 3.20.5. Una solución alternativa implica implementar una comprobación de estado que monitoree el estado y la saturación del pool de hilos de trabajador para detectar la retención anormal de hilos tempranamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66560 changed 2026-01-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-5rfx-cp42-p624 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-66560 changed 2026-10-07Public domain