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


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.26% (18th 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-UBUNTU1804-CLOUDINIT-10721723
  • published12 Jul 2025
  • disclosed26 Jun 2025

Introduced: 26 Jun 2025

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

How to fix?

Upgrade Ubuntu:18.04 cloud-init to version 23.1.2-0ubuntu0~18.04.1+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:18.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