GHSA-hh3j-9m59-p8vc BentoML vulnerable to Uncontrolled Resource Consumption
Unauthenticated attackers can cause denial of service in BentoML by sending crafted multipart requests to the login endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-hh3j-9m59-p8vc?
GHSA-hh3j-9m59-p8vc is a denial of service vulnerability in bentoml, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
/login endpoint of the newly integrated Gradio app is vulnerable to a Denial of Service (DoS) attack. This vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. The server continuously processes each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction.Which versions are affected by GHSA-hh3j-9m59-p8vc?
2 open source packages ship an affected version, including bentoml.
| Package | Affected | Fixed in |
|---|---|---|
bentoml PyPI | All versions to 1.3.9 | None |
bentoml PyPI | All versions to 1.3.9 | None |
How do I fix GHSA-hh3j-9m59-p8vc?
No fix has been published for GHSA-hh3j-9m59-p8vc yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-hh3j-9m59-p8vc being exploited?
There is no known exploitation of GHSA-hh3j-9m59-p8vc in the wild and no public exploit code.