{"id":"CVE-2024-5651","aliases":["CVE-2024-5651"],"related":[],"kind":"vulnerability","state":"published","title":"Fence-agents-remediation: fence agent command line options leads to remote code execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-08-12T05:46:16.035Z","modified":"2026-11-26T13:29:20.249Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0.4.0","fixed":"0.4.1-22","status":"affected"}],"package":"fence-agents-remediation","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"v0.4.1-22","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Fence Agents Remediation 0.4 for RHEL 8","package":"workload-availability/fence-agents-remediation-operator-bundle","cpe":"cpe:/a:redhat:workload_availability_far:0.4::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"v0.4.1-22","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Fence Agents Remediation 0.4 for RHEL 8","package":"workload-availability/fence-agents-remediation-rhel8-operator","cpe":"cpe:/a:redhat:workload_availability_far:0.4::el8","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:5453","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5651","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2290540","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["This issue was discovered by Thibault Guittet (Red Hat)."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-08-13T20:15:45.156Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5651","url":"https://www.cve.org/CVERecord?id=CVE-2024-5651","licence":"CVE Terms of Use","modified":"2026-11-26T13:29:20.249Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5651","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5651","licence":"Public domain","modified":"2026-06-17T08:16:21.903Z"}],"updatedAt":"2026-11-26T13:37:21.215Z","epss":{"score":0.0244,"percentile":0.85046,"date":"2026-11-30T12:00:22.000Z"}}