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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cloud-init-cfg-ec2 | Amazon Linux | 22.2.2-1.amzn2023.1.14 |
| cloud-init | Amazon Linux | 22.2.2-1.amzn2023.1.14, 19.3-46.amzn2.0.6 |
| cloud-init-cfg-onprem | Amazon Linux | 22.2.2-1.amzn2023.1.14 |
| cloud-init | errata.rockylinux.org | 23.4-7.el8 |
| cloud-init | Canonical | 25.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
| Vendor | Product | Versions |
|---|---|---|
| Canonical | cloud-init | 0.7.9 |
| Canonical | cloud-init | 0.7.9 |
| amazon:2023 | cloud-init-cfg-ec2 | 0 |
| amazon:2 | cloud-init | 0 |
| amazon:2023 | cloud-init-cfg-onprem | 0 |
| amazon:2023 | cloud-init | 0 |
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