Vulnerability · Published Jun 26, 2025 · Assigned by canonical
CVE-2024-6174
High 8.8
In plain English
A high-severity improper authentication in cloud-init from Canonical. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.3%top 81.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address. To prevent this, cloud-init default configurations disable platform enumeration.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | cloud-init | 24.4-3.el10_0.2 | ALSA-2025:10844 |
| AlmaLinux:8 | cloud-init | 23.4-7.el8_10.10.alma.1 | ALSA-2025:11324 |
| AlmaLinux:9 | cloud-init | 24.4-4.el9_6.3.alma.1 | ALSA-2025:10848 |
| Debian:12 | cloud-init | 22.4.2-1+deb12u3 | DEBIAN-CVE-2024-6174 |
| Debian:13 | cloud-init | 25.1.4-1 | DEBIAN-CVE-2024-6174 |
| Debian:14 | cloud-init | 25.1.4-1 | DEBIAN-CVE-2024-6174 |
| Rocky Linux:8 | cloud-init | 0:23.4-7.el8_10.10.0.2 | RLSA-2025:11324 |
| Ubuntu:22.04:LTS | cloud-init | 25.1.4-0ubuntu0~22.04.1 | USN-7677-1 |
| Ubuntu:22.04:LTS | cloud-init | 25.1.4-0ubuntu0~22.04.1 | UBUNTU-CVE-2024-6174 |
| Ubuntu:24.04:LTS | cloud-init | 25.1.4-0ubuntu0~24.04.1 | UBUNTU-CVE-2024-6174 |
| Ubuntu:24.04:LTS | cloud-init | 25.1.4-0ubuntu0~24.04.1 | USN-7677-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Canonical | cloud-init | 0.7.9 – before 25.1.3 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H