CVSS 3.1
8.8 highCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.8) in canonical cloud-init. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2024-6174 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-6174?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-6174?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-6174 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Canonical cloud-init | from 0.7.9 before 25.1.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | cloud-init | 22.4.2-1+deb12u3 | DEBIAN-CVE-2024-6174 |
| Debian | 13, 14 | cloud-init | 25.1.4-1 | DEBIAN-CVE-2024-6174 |
| Ubuntu | 22.04:LTS | cloud-init | 25.1.4-0ubuntu0~22.04.1 | UBUNTU-CVE-2024-6174 USN-7677-1 |
| Ubuntu | 24.04:LTS | cloud-init | 25.1.4-0ubuntu0~24.04.1 | UBUNTU-CVE-2024-6174 USN-7677-1 |
| Ubuntu | Pro:16.04:LTS | cloud-init | 21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2 | UBUNTU-CVE-2024-6174 USN-7677-1 |
| Ubuntu | Pro:18.04:LTS | cloud-init | 23.1.2-0ubuntu0~18.04.1+esm1 | UBUNTU-CVE-2024-6174 USN-7677-1 |
| Ubuntu | Pro:20.04:LTS | cloud-init | 24.4.1-0ubuntu0~20.04.3+esm1 | UBUNTU-CVE-2024-6174 USN-7677-1 |
| Red Hat | enterprise_linux:8::appstream | cloud-init | 0:23.4-7.el8_10.10 | RHSA-2025:11324 |
| Red Hat | enterprise_linux:9::appstream | cloud-init | 0:24.4-4.el9_6.3 | RHSA-2025:10848 |
| Red Hat | enterprise_linux:10.0 | cloud-init | 0:24.4-3.el10_0.2 | RHSA-2025:10844 |
| Red Hat | rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstream | cloud-init | 0:21.1-15.el8_6.4 | RHSA-2025:11337 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | cloud-init | 0:22.1-8.el8_8.2 | RHSA-2025:11339 |
| Red Hat | rhel_e4s:9.0::appstream | cloud-init | 0:21.1-19.el9_0.7 | RHSA-2025:11295 |
| Red Hat | rhel_e4s:9.2::appstream | cloud-init | 0:22.1-10.el9_2.1 | RHSA-2025:10879 |
| Red Hat | rhel_eus:9.4::appstream | cloud-init | 0:23.4-7.el9_4.13 | RHSA-2025:10876 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | cloud-init | 25.1.3-160000.2.1 | SUSE-RU-2026:20192-1 |
| SUSE | Linux Micro 6.0 | cloud-init | 25.1.3-1.1 | SUSE-SU-2025:20656-1 |
| SUSE | Linux Micro 6.1 | cloud-init | 25.1.3-slfo.1.1_1.1 | SUSE-SU-2025:20755-1 |
| SUSE | Linux Micro 6.2 | cloud-init | 25.1.3-160000.2.1 | SUSE-RU-2026:20174-1 |
| openSUSE | Leap 16.0 | cloud-init | 25.1.3-160000.2.1 | openSUSE-RU-2026:20129-1 |
| openSUSE | Tumbleweed | cloud-init | 25.1.3-1.1 | openSUSE-SU-2025:15376-1 |
| 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 |
| AlmaLinux | 10 | cloud-init | 24.4-3.el10_0.2 | ALSA-2025:10844 |
| Rocky Linux | 8 | cloud-init | 0:23.4-7.el8_10.10.0.2 | RLSA-2025:11324 |
| Azure Linux | 2 | cloud-init | 23.3-7 | AZL-64374 |
| Azure Linux | 3 | cloud-init | 24.3.1-2 | AZL-64334 |
| Alpaquita | 23, stream | cloud-init | no fix listed | BELL-CVE-2024-6174 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.
Red Hat rates this Important.
This vulnerability is Important rather than Moderate because it directly impacts the security boundary between a system’s local environment and potentially untrusted network metadata sources. On non-x86 platforms, the fallback to platform enumeration with default datasource scanning could allow cloud-init to treat a malicious or spoofed local metadata service as authoritative, granting root-level execution of arbitrary user-data or scripts during early boot. Since cloud-init runs before most security controls are active, exploitation would provide persistent and unrestricted system compromise with no user interaction.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | cloud-init-0:24.4-3.el10_0.2 | Fixed 2025-07-14 | RHSA-2025:10844 |
| Red Hat Enterprise Linux 8 | cloud-init-0:23.4-7.el8_10.10 | Fixed 2025-07-16 | RHSA-2025:11324 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | cloud-init-0:21.1-15.el8_6.4 | Fixed 2025-07-16 | RHSA-2025:11337 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | cloud-init-0:21.1-15.el8_6.4 | Fixed 2025-07-16 | RHSA-2025:11337 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | cloud-init-0:21.1-15.el8_6.4 | Fixed 2025-07-16 | RHSA-2025:11337 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | cloud-init-0:22.1-8.el8_8.2 | Fixed 2025-07-16 | RHSA-2025:11339 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | cloud-init-0:22.1-8.el8_8.2 | Fixed 2025-07-16 | RHSA-2025:11339 |
| Red Hat Enterprise Linux 9 | cloud-init-0:24.4-4.el9_6.3 | Fixed 2025-07-14 | RHSA-2025:10848 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | cloud-init-0:21.1-19.el9_0.7 | Fixed 2025-07-16 | RHSA-2025:11295 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | cloud-init-0:22.1-10.el9_2.1 | Fixed 2025-07-14 | RHSA-2025:10879 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | cloud-init-0:23.4-7.el9_4.13 | Fixed 2025-07-14 | RHSA-2025:10876 |
| Red Hat Enterprise Linux 7 | cloud-init | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-6174.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.