What’s Vulnerable › Vulnerabilities
CVE-2024-5651: Fence-agents-remediation: fence agent command line options leads to remote code execution
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-12 · updated 2026-06-17
- Weakness: CWE-94
Description
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 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.
Affected products
- Red Hat Fence Agents Remediation 0.4 for RHEL 8: all versions — fixed in v0.4.1-22
How to fix
Upgrade to a fixed version: Red Hat Fence Agents Remediation 0.4 for RHEL 8 v0.4.1-22. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:5453
- https://access.redhat.com/security/cve/CVE-2024-5651
- https://bugzilla.redhat.com/show_bug.cgi?id=2290540
Get alerted when CVE-2024-5651 or the next vulnerability affects your stack