VDB

CVE-2024-6174

CVE-2024-6174 PUBLISHED CVSS 8.8 HIGH

Reported by canonical · Published June 26, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
cloud-init-cfg-ec2Amazon Linux22.2.2-1.amzn2023.1.14
cloud-initAmazon Linux22.2.2-1.amzn2023.1.14, 19.3-46.amzn2.0.6
cloud-init-cfg-onpremAmazon Linux22.2.2-1.amzn2023.1.14
cloud-initerrata.rockylinux.org23.4-7.el8
cloud-initCanonical25.1.3

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Canonicalcloud-init0.7.9
Canonicalcloud-init0.7.9
amazon:2023cloud-init-cfg-ec20
amazon:2cloud-init0
amazon:2023cloud-init-cfg-onprem0
amazon:2023cloud-init0

Timeline

  • Jun 26, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 26, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Jun 26, 2025 CVE Published
  • Jun 26, 2025 CVE Updated
  • May 22, 2026 Security Advisory (11 in total, the first dated here)
  • May 26, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-6174
vulnetix vdb fixes CVE-2024-6174

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6174/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›