GitHub Advisoryadvisory · PyPI

GHSA-hvj5-mvw9-93j3 Insecure deserialization in BentoML

CRITICAL Published 2024-04-16 Modified 2026-10-27 Official page ↗
Aliases
CVE-2024-2912
Ecosystem
PyPI
Packages
bentoml
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1188
Reviewed
2024-04-16

Affected packages

• PyPI bentoml: < 1.2.5 → fixed in 1.2.5

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.

Related

Alias · CVE (1)

  • CVE-2024-2912 An insecure deserialization vulnerability exists in the BentoML framework, allowing remote code execution (RCE) by sending a specially… vulnerability

Weakness · CWE (1)

  • CWE-1188 Initialization of a Resource with an Insecure Default weakness

References