CVE-2024-11584

cloud-init: Cloud init permissions handling flaw

Published Jun 26, 2025 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions, making it world-writable. This is used for the "/run/cloud-init/hook-hotplug-cmd" FIFO. An unprivileged user could trigger hotplug-hook commands.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-54980 cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions, making it world-writable. This is used for the "/run/cloud-init/hook-hotplug-cmd" FIFO. An unprivileged user could trigger hotplug-hook commands.
Ubuntu USN Ubuntu USN USN-7677-1 cloud-init vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title cloud-init: From CVEorg collector cloud-init: Cloud init permissions handling flaw
Type Values Removed Values Added
Title cloud-init: From CVEorg collector
Weaknesses CWE-276
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Description cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions, making it world-writable. This being used for the "/run/cloud-init/hook-hotplug-cmd" FIFO. An unprivelege user could trigger hotplug-hook commands. cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions, making it world-writable. This is used for the "/run/cloud-init/hook-hotplug-cmd" FIFO. An unprivileged user could trigger hotplug-hook commands.
Type Values Removed Values Added
Weaknesses CWE-732
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions, making it world-writable. This being used for the "/run/cloud-init/hook-hotplug-cmd" FIFO. An unprivelege user could trigger hotplug-hook commands.
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Jun 26, 2025, 7:14 PM
Reserved
Nov 20, 2024, 11:04 PM
Status
Analyzed
Published
Jun 26, 2025, 10:15 AM
Modified
Jun 17, 2026, 6:58 AM
Severity
Moderate
Public date
Jun 26, 2025, 9:25 AM