Fence-agents-remediation: fence agent command line options leads to remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-94.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | fence-agents-remediation | 0.4.0 to before 0.4.1-22 | 0.4.1-22 | Patch available | CNA |
| Red Hat | Fence Agents Remediation 0.4 for RHEL 8 | — | v0.4.1-22 | Patch available | CNA |
| Red Hat | Fence Agents Remediation 0.4 for RHEL 8 | — | v0.4.1-22 | Patch available | CNA |
- fence-agents-remediation Vendor— Affected 0.4.0 to before 0.4.1-22 Fixed in 0.4.1-22 Patch available CNA
- Fence Agents Remediation 0.4 for RHEL 8 VendorRed Hat Affected — Fixed in v0.4.1-22 Patch available CNA
- Fence Agents Remediation 0.4 for RHEL 8 VendorRed Hat Affected — Fixed in v0.4.1-22 Patch available CNA
Remediation
- Fix · CNA fence-agents-remediation Fixed in 0.4.1-22
Red Hat 1 advisory
- RHSA-2024:5453 Released 2024-08-15 · Red Hat rating ImportantFence Agents Remediation 0.4.1 - Security update
- Fence Agents Remediation 0.4 for RHEL 8 workload-availability/fence-agents-remediation-operator-bundle, workload-availability/fence-agents-remediation-rhel8-operator
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Fence Agents Remediation 0.4 for RHEL 8 | Fixed | RHSA-2024:5453 |
Timeline
- 2026-10-02 Threatist record created from CVE-2024-5651
- 2026-10-03 Alias added: GHSA-76qm-c9j2-wm6v
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-5651 · CVE Program
- CVE-2024-5651 · NVD
- FIRST EPSS
- GHSA-76qm-c9j2-wm6v · GitHub Advisory Database · CC BY 4.0
- CVE-2024-5651 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences