CVE-2024-5651
Published: 12 August 2024
Summary
CVE-2024-5651 is a high-severity Code Injection (CWE-94) vulnerability. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 3.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
A flaw was found in the Fence Agents Remediation operator that permits remote code execution when an attacker supplies an arbitrary command via the --ssh-path or --telnet-path arguments. The affected component is the FenceAgentsRemediation custom resource for fence agents that accept these path options; the vulnerability is tracked as CWE-94 and carries a CVSS 3.1 score of 8.8.
A low-privilege user, such as one with developer access, can create a specially crafted FenceAgentsRemediation resource targeting a supported fence agent. Successful exploitation executes the attacker-supplied command inside the operator pod, yielding code execution first under the operator’s service account and subsequently under a cluster-admin service account.
Red Hat has published advisory RHSA-2024:5453 and the corresponding CVE entry that address the issue; the associated Bugzilla record provides additional technical detail on the flaw. The EPSS score has remained flat at 0.2856 since disclosure, indicating no material increase in observed exploitation interest.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-47156
Vulnerability details
A flaw was found in the Fence Agents Remediation operator. This vulnerability can allow a Remote Code Execution (RCE) primitive by supplying an arbitrary command to execute in the --ssh-path/--telnet-path arguments. A low-privilege user, for example, a user with developer…
more
access, can create a specially crafted FenceAgentsRemediation for a fence agent supporting --ssh-path/--telnet-path arguments to execute arbitrary commands on the operator's pod. This RCE leads to a privilege escalation, first as the service account running the operator, then to another service account with cluster-admin privileges.
- 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.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.