{"id":"CVE-2024-5651","published":"2024-08-12T05:46:16Z","modified":"2026-02-25T20:31:25Z","title":"Fence-agents-remediation: fence agent command line options leads to remote code execution","vendor":"Red Hat","product":"Fence Agents Remediation 0.4 for RHEL 8","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01369,"percentile":0.72582,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:5453","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-5651","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2290540","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":14.52},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= 0.4.0, < 0.4.1-22"]},{"vendor":"Red Hat","product":"Fence Agents Remediation 0.4 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Fence Agents Remediation 0.4 for RHEL 8","versions":["all versions"]}],"workarounds":{"items":["Do not allow unprivileged users create FenceAgentsRemediation and FenceAgentsRemediationTemplate resources."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-13T20:15:45.156124Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-47156","exploited":false,"provenance":"source"}}