Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-6174: When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address

35
Routine
HIGH 8.8UPGRADE

CVE-2024-6174 is a high-severity flaw (CVSS 8.8) affecting cloud-init. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorAdjacent network
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 82%)
CISA exploited listNo
WeaknessCWE-287
Published2025-06-26
Last modified2026-06-17
Publisher (CNA): Canonical Ltd. · Vendor: canonical

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

canonical cloud-init UPGRADE
Affected: < 25.1.3
Fixed in: 25.1.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy cloud-init || rpm -q cloud-init || cloud-init --version
2. UPGRADE to 25.1.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade cloud-init
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade cloud-init
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-6174?

cloud-init: upgrade to 25.1.3. Exact commands for each OS are on this page.

Is CVE-2024-6174 being exploited?

CVE-2024-6174 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-6174 affect?

CVE-2024-6174 affects cloud-init. Severity is high (CVSS 8.8). 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.

How urgent is CVE-2024-6174?

Priority 35/100. High severity

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.