RCE in Red Hat Fence Agents Remediation 0.4 For Rhel 8

CVE-2024-5651

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.014 (69.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-5651?
CVE-2024-5651 is a high-severity vulnerability in Red Hat Fence Agents Remediation 0.4 For Rhel 8, classified under Code Injection. CVSS score: 8.8/10. Published 2024-08-12.
How severe is CVE-2024-5651?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2024-5651 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.