GitHub Advisoryadvisory · PyPI
GHSA-hw8j-hw49-752c BentoML Denial of Service (DoS) via Multipart Boundary
HIGH
Official page ↗
- Aliases
- CVE-2024-9056
- Ecosystem
- PyPI
- Packages
- bentoml
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400, CWE-770
- Reviewed
- 2025-03-21
Affected packages
• PyPI bentoml: <= 1.4.5 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2024-9056 BentoML version v1.3.4post1 is vulnerable to a Denial of Service (DoS) attack. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9056 advisory
- https://github.com/bentoml/BentoML package
- https://github.com/bentoml/BentoML/blob/a6f5f937be6ec278f3d4f3bbc6f3c8f9564820d7/src/bentoml/_internal/io_descriptors/file.py#L293 web
- https://github.com/bentoml/BentoML/blob/v1.4.5/src/bentoml/_internal/io_descriptors/file.py#L293C9-L293C66 web
- https://huntr.com/bounties/a24a13c2-0300-4a95-b26a-ac7fe8f6521b web