CVE-2024-5651

published 12 Aug 2024 · updated 25 Feb 2026

Fence-agents-remediation: fence agent command line options leads to remote code execution

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.4.1-22.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatFence Agents Remediation 0.4 for RHEL
>=0.4.0 <0.4.1-220.4.1-22

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5651 severity on Zeptric[![CVE-2024-5651](https://zeptric.io/badge/cve/CVE-2024-5651.svg)](https://zeptric.io/cve/CVE-2024-5651)