Vulnerability · Published Apr 16, 2024 · Assigned by @huntr_ai
CVE-2024-2912Insecure Deserialization Leading to RCE in bentoml/bentoml
Critical 10.0
In plain English
A critical-severity security flaw in bentoml/bentoml from bentoml. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An insecure deserialization vulnerability exists in the BentoML framework, allowing remote code execution (RCE) by sending a specially crafted POST request. By exploiting this vulnerability, attackers can execute arbitrary commands on the server hosting the BentoML application. The vulnerability is triggered when a serialized object, crafted to execute OS commands upon deserialization, is sent to any valid BentoML endpoint. This issue poses a significant security risk, enabling attackers to compromise the server and potentially gain unauthorized access or control.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | bentoml | 1.2.5 | GHSA-hvj5-mvw9-93j3 |
| PyPI | bentoml | 1.2.5 | PYSEC-2026-296 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| bentoml | bentoml/bentoml | 1.2.0 – through 1.2.4 |
Weakness: CWE-1188 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H