Skip to content
OpenAdvisories
Critical · 10.0 CVE-2024-2912 EUVD-2024-1219GHSA-hvj5-mvw9-93j3PYSEC-2026-296

Insecure Deserialization Leading to RCE in bentoml/bentoml

Published Apr 16, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

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 products

VendorProductAffectedFixed
bentoml bentoml/bentoml 1.2.0 – ≤ 1.2.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI bentoml < 1.2.5 1.2.5 GHSA-hvj5-mvw9-93j3

References