Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2024-5651

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

fence-agents-remediation

Default version status: affected

  • 0.4.0 to < 0.4.1-22affected

Red Hat Fence Agents Remediation 0.4 for RHEL 8

Default version status: affected

  • v0.4.1-22 to < *unaffected

Red Hat Fence Agents Remediation 0.4 for RHEL 8

Default version status: affected

  • v0.4.1-22 to < *unaffected

References