CVE-2024-5651
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by redhat
Exploit likelihood
2.44% (higher than 85% of CVEs)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
fence-agents-remediationfrom 0.4.0 before 0.4.1-22CVE List
workload-availability/fence-agents-remediation-operator-bundleNot specified
Not affected: from v0.4.1-22 before *
CVE List
workload-availability/fence-agents-remediation-rhel8-operatorNot specified
Not affected: from v0.4.1-22 before *
CVE List

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla en los agentes de valla que dependen de SSH/Telnet. Esta vulnerabilidad puede permitir una primitiva de ejecución remota de código (RCE) al proporcionar un comando arbitrario para ejecutar en los argumentos --ssh-path/--telnet-path. Un usuario con pocos privilegios, por ejemplo, un usuario con acceso de desarrollador, puede crear un FenceAgentsRemediation especialmente manipulado para que un agente de valla admita argumentos --ssh-path/--telnet-path para ejecutar comandos arbitrarios en el módulo del operador. Este RCE conduce a una escalada de privilegios, primero como la cuenta de servicio que ejecuta el operador y luego a otra cuenta de servicio con privilegios de administrador del clúster.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-5651 changed 2026-11-26CVE Terms of Use
NVDCVE-2024-5651 changed 2026-06-17Public domain