Critical Security Vulnerability in cloud-init: Red Hat Advisory RHSA-2025:11339

cloud-init Updated 02 Oct 2025

Summary

17/07/2025
N/A
Yes i
High
8.8

RHSA-2025:11339: Red Hat Security Advisory: cloud-init security update. Affects cloud-init versions < 0:22.1-8.el8_8.2. Fixed in 0:22.1-8.el8_8.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

cloud-init is a widely used package in cloud computing environments that automates the initialization of cloud instances. It allows for the configuration of various aspects of the instance, such as network settings, user accounts, and SSH keys. This package is essential for ensuring that cloud instances are set up correctly and securely. However, it has been identified to have a critical security vulnerability that could potentially expose systems to unauthorized access and data breaches.

Vulnerability Detail

The vulnerability identified as CVE-2024-6174 affects the cloud-init package, allowing attackers to exploit weaknesses in the initialization process. This could lead to unauthorized access to sensitive data or control over the affected cloud instances. The vulnerability has a CVSS score of 8.8, indicating a high severity level. It is crucial for users of cloud-init to understand the implications of this vulnerability and take appropriate action to mitigate risks.

How To Fix

Minimum fixed version

0:22.1-8.el8_8.2

This is the first release that contains the fix.

sudo dnf update cloud-init

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit access to the affected cloud instances by implementing stricter firewall rules or disabling unnecessary services until the package can be updated. However, this is not a permanent solution and should only be used until the patch is applied.

Conclusion

The cloud-init package has a critical vulnerability (CVE-2024-6174) that poses significant risks to cloud instances. Users are strongly advised to update to the patched version (0:22.1-8.el8_8.2) to mitigate these risks. Temporary workarounds can be implemented, but updating the package is the best course of action.

See every vulnerability recorded for cloud-init →

Share this vulnerability

FAQ

CVE-2024-6174 is the identifier for the critical security vulnerability found in the cloud-init package, which could allow unauthorized access to cloud instances.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

If you cannot update the package immediately, consider implementing stricter firewall rules or disabling unnecessary services as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for cloud-init.

How To Fix

Minimum fixed version

0:22.1-8.el8_8.2

This is the first release that contains the fix.

sudo dnf update cloud-init

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback