Quarkus REST has potential worker thread starvation when HTTP connection is closed while waiting to writeGHSA-5rfx-cp42-p624
MEDIUMGHSA-5rfx-cp42-p624 is a medium-severity (CVSS 5.9) CWE-770 vulnerability in io.quarkus:quarkus-rest. A fix is available for io.quarkus:quarkus-rest — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-5rfx-cp42-p624.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
io.quarkus:quarkus-rest☕io.quarkus:quarkus-rest☕io.quarkus:quarkus-restReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.quarkus:quarkus-rest | all versions | 3.20.5io.quarkus:quarkus-rest:3.20.5 |
| ☕Maven | io.quarkus:quarkus-rest | ≥ 3.21.0&&< 3.27.2 | 3.27.2io.quarkus:quarkus-rest:3.27.2 |
| ☕Maven | io.quarkus:quarkus-rest | ≥ 3.30.0&&< 3.31.0 | 3.31.0io.quarkus:quarkus-rest:3.31.0 |
Affected Products
quarkusquarkusDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.quarkus:quarkus-rest, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.quarkus:quarkus-rest to 3.20.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5rfx-cp42-p624 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is rated Moderate for Red Hat products utilizing Quarkus REST, including Red Hat AMQ, Cryostat, Enterprise Application Platform, OpenShift Container Platform, and Red Hat Build of Quarkus. The flaw in the HTTP layer can lead to an application-level denial of service if remote attackers repeatedly…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for GHSA-5rfx-cp42-p624 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat build of Quarkus 3.20.5.redhat | io.quarkus/quarkus-rest:3.20.5.redhat-00001 | RHSA-2026:1899 |
| Red Hat build of Quarkus 3.27.2.redhat | io.quarkus/quarkus-rest:3.27.2.redhat-00001 | RHSA-2026:1965 |
Frequently Asked Questions
Is GHSA-5rfx-cp42-p624 in your dependencies?
Find it across Maven, including transitive dependencies.