Unbounded External Image Fetch in Validation Leads to Resource-Exhaustion DoS in huggingface/text-generation-inference
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| huggingface | huggingface/text-generation-inference | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Huggingface | Text-generation-inference | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-j7x9-7j54-2v3h | Hugging Face Text Generation Inference vulnerable to Uncontrolled Resource Consumption |
No CVSS v4.0
No CVSS v3.1
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 29.5% (29.492% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Huggingface
Huggingface text-generation-inference |
|
| Vendors & Products |
Huggingface
Huggingface text-generation-inference |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A vulnerability in huggingface/text-generation-inference version 3.3.6 allows unauthenticated remote attackers to exploit unbounded external image fetching during input validation in VLM mode. The issue arises when the router scans inputs for Markdown image links and performs a blocking HTTP GET request, reading the entire response body into memory and cloning it before decoding. This behavior can lead to resource exhaustion, including network bandwidth saturation, memory inflation, and CPU overutilization. The vulnerability is triggered even if the request is later rejected for exceeding token limits. The default deployment configuration, which lacks memory usage limits and authentication, exacerbates the impact, potentially crashing the host machine. The issue is resolved in version 3.3.7. | |
| Title | Unbounded External Image Fetch in Validation Leads to Resource-Exhaustion DoS in huggingface/text-generation-inference | |
| Weaknesses | CWE-400 | |
| References |
| |
| Metrics |
cvssV3_0
|