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.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)1.5%top 25.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIbentoml1.2.5GHSA-hvj5-mvw9-93j3
PyPIbentoml1.2.5PYSEC-2026-296

Affected products (as reported)

VendorProductVersions
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

References