Skip to content

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

HighCVSS 8.8 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
DebianRed Hat

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
fence-agents-remediation >= 0.4.0, < 0.4.1-22 0.4.1-22 Fixed
redhat workload availability far < v0.4.1-22 v0.4.1-22 Fixed

Affected products

ProductAffected versionsFixed in
fence-agents-remediation >= 0.4.0, < 0.4.1-22 0.4.1-22
redhat workload availability far < v0.4.1-22 v0.4.1-22

References