UBUNTU-CVE-2024-5651
Vulnerability from osv_ubuntu – Published: 2024-08-12 13:38 – Updated: 2024-08-12 13:38 – Source websiteA 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.
{
"affected": [
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "fence-agents",
"purl": "pkg:deb/ubuntu/fence-agents?arch=src?distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.19-1",
"4.0.21-2",
"4.0.22-2"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "fence-agents",
"purl": "pkg:deb/ubuntu/fence-agents?arch=src?distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.25-1",
"4.0.25-2ubuntu1",
"4.0.25-2ubuntu1.1",
"4.0.25-2ubuntu1.2",
"4.0.25-2ubuntu1.3"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "fence-agents",
"purl": "pkg:deb/ubuntu/fence-agents?arch=src?distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.4.0-2",
"4.5.2-1",
"4.5.2-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "fence-agents",
"purl": "pkg:deb/ubuntu/fence-agents?arch=src?distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.7.1-1ubuntu7",
"4.7.1-1ubuntu8",
"4.7.1-1ubuntu8.1"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "fence-agents",
"purl": "pkg:deb/ubuntu/fence-agents?arch=src?distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.12.1-2~exp1ubuntu2",
"4.12.1-2~exp1ubuntu4"
]
}
],
"aliases": [],
"details": "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\u00a0 --ssh-path/--telnet-path arguments to execute arbitrary commands on the operator\u0027s 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.",
"id": "UBUNTU-CVE-2024-5651",
"modified": "2024-08-12T13:38:00Z",
"published": "2024-08-12T13:38:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-5651"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-5651"
},
{
"type": "REPORT",
"url": "https://access.redhat.com/security/cve/CVE-2024-5651"
}
],
"related": [
"CVE-2024-5651"
],
"schema_version": "1.6.3",
"withdrawn": "2025-06-23T15:57:34Z"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.