UBUNTU-CVE-2024-5651

Source
https://ubuntu.com/security/CVE-2024-5651
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5651.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-5651
Related
  • CVE-2024-5651
Withdrawn
2025-06-23T15:57:34Z
Published
2024-08-12T13:38:00Z
Modified
2026-02-04T03:10:47.311683Z
Summary
[none]
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Ā  --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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / fence-agents

Package

Name
fence-agents
Purl
pkg:deb/ubuntu/fence-agents?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.0.19-1
4.0.21-2
4.0.22-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5651.json"

Ubuntu:Pro:18.04:LTS / fence-agents

Package

Name
fence-agents
Purl
pkg:deb/ubuntu/fence-agents?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
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"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5651.json"

Ubuntu:20.04:LTS / fence-agents

Package

Name
fence-agents
Purl
pkg:deb/ubuntu/fence-agents?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.4.0-2
4.5.2-1
4.5.2-1ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5651.json"

Ubuntu:22.04:LTS / fence-agents

Package

Name
fence-agents
Purl
pkg:deb/ubuntu/fence-agents?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.7.1-1ubuntu7
4.7.1-1ubuntu8
4.7.1-1ubuntu8.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5651.json"

Ubuntu:24.04:LTS / fence-agents

Package

Name
fence-agents
Purl
pkg:deb/ubuntu/fence-agents?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.12.1-2~exp1ubuntu2
4.12.1-2~exp1ubuntu4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-5651.json"