CVE-2024-5651
Fence-agents-remediation: fence agent command line options leads to remote code execution
- State
- Published
- Severity
- 8.8 High
- Published
- Aug 12, 2024
- Updated
- Feb 25, 2026
- Reserved
- Jun 5, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
fence-agents-remediation |
|
Fence Agents Remediation 0.4 for RHEL 8Red Hat |
|
Fence Agents Remediation 0.4 for RHEL 8Red Hat |
|
References
- RHSA-2024:5453vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-5651vdb-entry
- RHBZ#2290540issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.