Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
io.quarkus:quarkus-restMaven | < 3.20.5 | 3.20.5 |
io.quarkus:quarkus-restMaven | >= 3.21.0, < 3.27.2 | 3.27.2 |
io.quarkus:quarkus-restMaven | >= 3.30.0, < 3.31.0 | 3.31.0 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-5rfx-cp42-p624ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-66560ghsaADVISORY
- github.com/quarkusio/quarkus/security/advisories/GHSA-5rfx-cp42-p624ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.