CVE-2024-5651 json
Fence-agents-remediation: fence agent command line options leads to remote code execution
published 2024-08-12 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-47156
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
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.
Patch / fix
- Red Hat Fence Agents Remediation 0.4 for RHEL 8 v0.4.1-22
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-5651 updated cvss 8.8
fence-agents-remediation: Fence Agent Command Line Options Leads to Remote Code Execution
-
Red Hat Fence Agents Remediation 0.4 for RHEL 8 workload-availability/fence-agents-remediation-rhel8-operator v0.4.1-22, workload-availability/fence-agents-remediation-operator-bundle v0.4.1-22fixed: vendor fix “Do not allow unprivileged users create FenceAgentsRemediation and FenceAgentsRemediationTemplate resources.” RHSA-2024:5453
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.37% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Red Hat Fence Agents Remediation 0.4 for RHEL 8
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
access.redhat.com
/errata/RHSA-2024:5453
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2024-5651
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2290540
issue-tracking
Sources
- CVE List CVE-2024-5651
- NVD CVE-2024-5651
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.