Critical Security Flaw in cloud-init Package: Important Update Required

cloud-init Updated 21 May 2026

Summary

21/05/2026
N/A
Yes i
High
8.8

RLSA-2025:11324: Important: cloud-init security update. Affects cloud-init versions < 0:23.4-7.el8_10.10.0.2. Fixed in 0:23.4-7.el8_10.10.0.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The cloud-init package is essential for cloud instances, providing a set of initialization scripts that facilitate the retrieval and installation of SSH keys, as well as allowing users to execute various scripts during the boot process. This functionality is crucial for automating the setup of cloud environments, ensuring that instances are configured correctly and securely upon launch.

Vulnerability Detail

The vulnerability identified as CVE-2024-6174 in the cloud-init package is a permissions flaw that could potentially allow unauthorized access or manipulation of cloud instance configurations. This issue arises from improper handling of permissions, which may lead to significant security risks, including unauthorized access to sensitive data or control over cloud instances. The CVSS score for this vulnerability is 8.8, indicating a high level of severity and the potential for serious impact if exploited.

How To Fix

Minimum fixed version

0:23.4-7.el8_10.10.0.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, you can restrict access to the cloud-init scripts and configurations by modifying the permissions on the relevant files. This can be done using the following command: 'chmod 700 /etc/cloud/cloud.cfg.d/*'. However, this is not a permanent solution and updating the package is strongly advised.

Conclusion

The cloud-init package has a critical vulnerability (CVE-2024-6174) that requires immediate attention. Users are advised to update to the latest patched version to mitigate potential security risks. Temporary workarounds can be applied, but they do not replace the need for a proper update.

See every vulnerability recorded for cloud-init →

Share this vulnerability

FAQ

Cloud-init is a package that provides initialization scripts for cloud instances, allowing for automated configuration and setup during the boot process.

CVE-2024-6174 refers to a permissions flaw in the cloud-init package that could allow unauthorized access to cloud instance configurations.

The CVSS score for this vulnerability is 8.8, indicating a high severity level that could lead to significant security risks if not addressed.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, consider implementing the temporary workaround by restricting access to the cloud-init scripts until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for cloud-init.

How To Fix

Minimum fixed version

0:23.4-7.el8_10.10.0.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