CVE-2024-6174: cloud-init - Privilege Escalation
- Cve: CVE-2024-6174
- Name: cloud-init - Privilege Escalation
- 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.
- Impact: Attackers on non-x86 platforms can gain root access via a hardcoded local IP URL, leading to full system compromise.
- Remediation: Disable platform enumeration in cloud-init default configurations or update to the latest version.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirements: Attack requires non-x86 platform detection
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00278
- Epss percentile: 0.20448
- Assignee: [email protected]
- Published at: 2025-06-26T10:15:25Z
- Age in days: 516
- Modified at: 2026-06-17T08:17:26Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-6174
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/canonical/cloud-init/releases/tag/25.1.3 | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| canonical:cloud-init | < 25.1.3 | no | nvd | /v1/products/canonical/cloud-init |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| canonical/cloud-init | releases | yes | /v1/repositories/canonical/cloud-init |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts