{"id":"CVE-2024-2912","state":"PUBLISHED","title":"Insecure Deserialization Leading to RCE in bentoml/bentoml","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.","publishedAt":"2024-04-16T00:00:15.110Z","updatedAt":"2024-08-01T19:25:42.151Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["bentoml bentoml/bentoml"],"affected":[{"vendor":"bentoml","product":"bentoml/bentoml","defaultStatus":"unaffected","versions":[{"version":"1.2.0","status":"affected","lessThanOrEqual":"1.2.4","versionType":"custom"}]}],"references":["https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68","https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b"],"weaknesses":["CWE-1188"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2912.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2912","state":"PUBLISHED","datePublished":"2024-04-16T00:00:15.110Z","dateUpdated":"2024-08-01T19:25:42.151Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-03-26T14:04:26.687Z"},"containers":{"cna":{"title":"Insecure Deserialization Leading to RCE in bentoml/bentoml","descriptions":[{"lang":"en","value":"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":[{"vendor":"bentoml","product":"bentoml/bentoml","defaultStatus":"unaffected","versions":[{"version":"1.2.0","status":"affected","lessThanOrEqual":"1.2.4","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68"},{"url":"https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1188","description":"CWE-1188 Insecure Default Initialization of Resource","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-05-22T15:49:55.127Z"},"source":{"advisory":"349a1cce-6bb5-4345-82a5-bf7041b65a68","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"bentoml","product":"bentoml","defaultStatus":"unaffected","versions":[{"version":"1.2.0","status":"affected","lessThanOrEqual":"1.2.4","versionType":"custom"}],"cpes":["cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-05T19:41:39.436852Z","id":"CVE-2024-2912","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-05T19:48:04.445Z"}},{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/349a1cce-6bb5-4345-82a5-bf7041b65a68","tags":["x_transferred"]},{"url":"https://github.com/bentoml/bentoml/commit/fd70379733c57c6368cc022ac1f841b7b426db7b","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:25:42.151Z"}}]}}}