CVE-2024-2912
An insecure deserialization vulnerability exists in the BentoML …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b
- huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68
- nvd.nist.gov/vuln/detail/CVE-2024-2912
- github.com/advisories/GHSA-hvj5-mvw9-93j3
- github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-296.yaml
- pypi.org/project/bentoml
- nvd.nist.gov/vuln/detail/CVE-2024-2912
- cve.org/CVERecord?id=CVE-2024-2912
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.