Vulnerability · Published Aug 12, 2024 · Assigned by redhat

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

High 8.8

In plain English

A high-severity code injection in fence-agents-remediation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.4%top 28.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
fence-agents-remediation 0.4.0 – before 0.4.1-22
Red Hat Fence Agents Remediation 0.4 for RHEL 8 see references
Red Hat Fence Agents Remediation 0.4 for RHEL 8 see references

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References