Cyber Resilience

CVE-2024-2912

Critical

Published: 16 April 2024

Published
16 April 2024
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0749 92.0th percentile
Risk Priority 24 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-2912 is a critical-severity Initialization of a Resource with an Insecure Default (CWE-1188) vulnerability. Its CVSS base score is 10.0 (Critical).

Operationally, ranked in the top 8.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

An insecure deserialization vulnerability affects the BentoML framework, enabling remote code execution when a specially crafted serialized object is processed. The flaw is present in the handling of incoming requests to any valid endpoint and stems from unsafe deserialization of objects that can trigger operating-system command execution upon unmarshaling.

Unauthenticated remote attackers can exploit the issue by sending a malicious POST request containing the crafted payload. Successful exploitation grants full control over the server process, allowing arbitrary command execution with the privileges of the BentoML application and potential lateral movement or data compromise within the hosting environment.

Public references point to patches merged in BentoML commits fd70379733c57c6368cc022ac1f841b7b426db7b that address the deserialization path, along with the original hunter report detailing the finding. The associated EPSS score remains flat at 0.0749 with no material increase observed after disclosure.

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-1188

Requires documented secure initialization practices and avoidance of insecure defaults in configuration baselines.

addresses: CWE-1188

Reviewing and updating baseline when components are installed or upgraded prevents initialization with insecure defaults.

addresses: CWE-1188

Requiring explicit configuration to minimal functionality overrides insecure defaults that would otherwise enable excess capabilities.

addresses: CWE-1188

Tailoring replaces or augments insecure default initializations with system-specific values and compensating controls before deployment.

addresses: CWE-1188

Central configuration overrides or replaces insecure default initializations that would otherwise be left unchanged on each system.

addresses: CWE-1188

SCRM practices during acquisition and configuration management address insecure default initializations shipped by vendors.

addresses: CWE-1188

Scans detect resources initialized with insecure defaults that create exploitable conditions.

addresses: CWE-1188

Instruction on secure initialization of security controls prevents leaving resources with insecure defaults after installation.

References