CVE-2024-5651

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

Published Aug 12, 2024 CVSS 3.1 · 8.8 High EPSS 1.4% KEV · Not listed
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.

Remediation

Vendor Workaround

Do not allow unprivileged users create FenceAgentsRemediation and FenceAgentsRemediationTemplate resources.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-47156 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.
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:workload_availability_fence_agents_remediation
Type Values Removed Values Added
First Time appeared Redhat workload Availability Far
CPEs cpe:/a:redhat:workload_availability_far:0.4::el8
cpe:/a:redhat:workload_availability_fence_agents_remediation
Vendors & Products Redhat workload Availability Far
Type Values Removed Values Added
Description A flaw was found in fence agents that rely on SSH/Telnet. 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. 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.
Title Fence-agent: fence agent command line options leads to remote code execution Fence-agents-remediation: fence agent command line options leads to remote code execution
Type Values Removed Values Added
CPEs cpe:/a:redhat:workload_availability_fence_agents_remediation
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:workload_availability_fence_agents_remediation:0.4::el8
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in fence agents that rely on SSH/Telnet. 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.
Title Fence-agent: fence agent command line options leads to remote code execution
First Time appeared Redhat
Redhat workload Availability Fence Agents Remediation
Weaknesses CWE-94
CPEs cpe:/a:redhat:workload_availability_fence_agents_remediation
Vendors & Products Redhat
Redhat workload Availability Fence Agents Remediation
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Feb 25, 2026, 8:31 PM
Reserved
Jun 5, 2024, 9:57 AM
Status
Deferred
Published
Aug 12, 2024, 1:38 PM
Modified
Jun 17, 2026, 8:16 AM
Severity
Important
Public date
Aug 12, 2024, 5:28 AM