{"id":"CVE-2024-2912","published":"2024-04-16T00:00:15Z","modified":"2024-08-01T19:25:42Z","title":"Insecure Deserialization Leading to RCE in bentoml/bentoml","vendor":"bentoml","product":"bentoml/bentoml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01509,"percentile":0.75055,"provenance":"source"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68","tags":[]},{"url":"https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b","tags":[]}],"priority":{"score":22.0,"factors":[{"name":"EPSS percentile","points":15.01},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"bentoml","affectedVersions":[{"vendor":"bentoml","product":"bentoml/bentoml","versions":[">= 1.2.0, <= 1.2.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-06-05T19:41:39.436852Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"bentoml","vulnerableRanges":["<1.2.5"],"patched":["1.2.5"],"from":["GHSA-hvj5-mvw9-93j3","PYSEC-2026-296"],"provenance":"source"}],"summary":{"text":"The insecure deserialization flaw in the bentoml/bentoml product, within the BentoML framework, lets a serialized object sent to any valid BentoML endpoint be deserialized in a way that runs operating system commands on the host. An attacker who can reach the service over the network can trigger this with a specially crafted POST request, requiring no authentication and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:42:09Z"},"euvd":{"id":"EUVD-2024-1219","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bentoml-bentoml-cve-2024-2912","children":[{"from":"CVE-2024-2912","to":"CVE-2025-27520","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/_bentoml_impl/server/app.py"],"commits":["https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b","https://github.com/bentoml/BentoML/commit/b35f4f4fcc53a8c3fe8ed9c18a013fe0a728e194"],"basis":"shared function","functions":["api_endpoint"]}]}]}}