CVE-2024-6174 Affecting cloud-init package, versions <24.4.1-0ubuntu0~20.04.3+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-CLOUDINIT-10721717
  • published12 Jul 2025
  • disclosed26 Jun 2025

Introduced: 26 Jun 2025

CVE-2024-6174  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 cloud-init to version 24.4.1-0ubuntu0~20.04.3+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cloud-init package and not the cloud-init package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1