GHSA-5rfx-cp42-p624
Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to write
Quick fix
GHSA-5rfx-cp42-p624 — io.quarkus:quarkus-rest: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.20.5</version> for io.quarkus:quarkus-restDetails
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
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 3.20.5# pom.xml: bump <version>3.20.5</version> for io.quarkus:quarkus-rest3.21.0Fixed in: 3.27.2# pom.xml: bump <version>3.27.2</version> for io.quarkus:quarkus-rest3.30.0Fixed in: 3.31.0# pom.xml: bump <version>3.31.0</version> for io.quarkus:quarkus-rest