Incorrect default permissions in cloud-init - CVE-2024-11584

 

Incorrect default permissions in cloud-init - CVE-2024-11584

Published: July 14, 2025


Vulnerability identifier: #VU112883
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-11584
CWE-ID: CWE-276
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Canonical Ltd.
Affected software:
cloud-init

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to software includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions, making it world-writable. A local user with access to the system can execute hotplug-hook commands.


How to mitigate CVE-2024-11584

Install updates from vendor's website.

Sources