CVEfocus › CVE database › CVE-2024-6174

CVE-2024-6174

CVSS 8.8 HighEPSS 0.4% (higher than 28% of CVEs)Published 2025-06-26Updated 2025-06-26Assigner: canonical

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.

CWE-287

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
3Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04cloud-initFixed25.1.4-0ubuntu0~24.04.1UBUNTU-CVE-2024-6174
Ubuntu 22.04cloud-initFixed25.1.4-0ubuntu0~22.04.1UBUNTU-CVE-2024-6174
Ubuntu 20.04cloud-initFix pending24.4.1-0ubuntu0~20.04.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-6174
Ubuntu 18.04cloud-initFix pending23.1.2-0ubuntu0~18.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-6174
Ubuntu 16.04cloud-initFix pending21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-6174
Debian 14cloud-initFixed25.1.4-1DEBIAN-CVE-2024-6174
Debian 13cloud-initFixed25.1.4-1DEBIAN-CVE-2024-6174
Debian 12cloud-initFixed22.4.2-1+deb12u3DEBIAN-CVE-2024-6174
Red Hat Enterprise Linux 10cloud-initFixed0:24.4-3.el10_0.2RHSA-2025:10844
Red Hat Enterprise Linux 9cloud-initFixed0:24.4-4.el9_6.3RHSA-2025:10848
Red Hat Enterprise Linux 8cloud-initFixed0:23.4-7.el8_10.10RHSA-2025:11324
Red Hat Enterprise Linux 7cloud-initWill not fix
Out of support scope
AlmaLinux 10cloud-initFixed24.4-3.el10_0.2ALSA-2025:10844
AlmaLinux 9cloud-initFixed24.4-4.el9_6.3.alma.1ALSA-2025:10848
AlmaLinux 8cloud-initFixed23.4-7.el8_10.10.alma.1ALSA-2025:11324
Rocky Linux 8cloud-initFixed0:23.4-7.el8_10.10.0.2RLSA-2025:11324

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.