CVE-2024-2912

Critical

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductBentoml
PublishedApr 16, 2024
First seenApr 16, 2024
Weakness typeCWE-1188CWE-1188

How to fix

Update
  • bentoml1.2.5 or later

Affected products

ProductAffected versionsFixed in
bentomlPyPIv < 1.2.51.2.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-2912 · Bentoml · Dark Radar