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 package | Versions | Reported by |
|---|---|---|
| fence-agents-remediation | from 0.4.0 before 0.4.1-22 | CVE List |
| workload-availability/fence-agents-remediation-operator-bundle | Not specified Not affected: from v0.4.1-22 before * | CVE List |
| workload-availability/fence-agents-remediation-rhel8-operator | Not specified Not affected: from v0.4.1-22 before * | CVE List |
Classification
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
| https://access.redhat.com/errata/RHSA-2024:5453 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2024-5651 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2290540 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-5651 changed 2026-11-26 | CVE Terms of Use |
| NVD | CVE-2024-5651 changed 2026-06-17 | Public domain |