CVE-2024-9056 Denial of Service in bentoml/bentoml
An unauthenticated attacker can cause a denial of service in BentoML by sending HTTP requests with malformed multipart boundaries, exhausting server resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-9056?
CVE-2024-9056 is a high-severity denial of service vulnerability in bentoml/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
BentoML version v1.3.4post1 is vulnerable to a Denial of Service (DoS) attack. The vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. This causes the server to continuously process each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction, impacting all users of the service.
Weakness: CWE-770
Which versions are affected by CVE-2024-9056?
3 open source packages ship an affected version, including bentoml.
| Package | Affected | Fixed in |
|---|---|---|
bentoml PyPI | All versions to 1.4.5 | None |
bentoml PyPI | All versions to 1.4.5 | None |
bentoml PyPI | All versions to 1.4.5 | None |
How do I fix CVE-2024-9056?
No fix has been published for CVE-2024-9056 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 CVE-2024-9056 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9056 exists.
Sources
Also known as GHSA-hw8j-hw49-752c, PYSEC-2026-1219.