A AegiFlow
CRITICALCVSS 9.8EPSS 1.5%

CVE-2024-2912

Insecure deserialization in BentoML

Published
2024-04-16
Modified
2026-10-27
EPSS percentile
74%
Aliases
GHSA-hvj5-mvw9-93j3
Sources
github-advisory

Summary

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

EcosystemPackageAffected versionsFixed versions
PyPIbentoml—1.2.5

Remediation: Upgrade to 1.2.5 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.