Critical Security Flaw in cloud-init Package: Permissions Vulnerability

cloud-init Updated 02 Oct 2025

Summary

16/07/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:11324: Important: cloud-init security update. Affects cloud-init versions < 23.4-7.el8_10.10.alma.1. Fixed in 23.4-7.el8_10.10.alma.1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The cloud-init package is essential for initializing cloud instances, providing scripts that run during the boot process to configure the system. It retrieves and installs SSH keys and allows users to execute custom scripts. This functionality is crucial for the seamless operation of cloud-based environments, making it a vital component for many cloud services.

Vulnerability Detail

The vulnerability identified as CVE-2024-6174 is a permissions flaw in the cloud-init package. This issue arises from inadequate permission settings, which could allow unauthorized users to gain access to sensitive functionalities or data. The ramifications of this vulnerability could lead to unauthorized access to cloud instances, potentially compromising the security of the entire cloud environment. It is critical to address this flaw to maintain the integrity and security of cloud operations.

How To Fix

Minimum fixed version

23.4-7.el8_10.10.alma.1

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 measure, you can restrict access to the cloud-init scripts by modifying the permissions on the relevant files. However, this is not a permanent solution and should only be used until the package can be updated.

Conclusion

The cloud-init package has a critical permissions vulnerability (CVE-2024-6174) that requires immediate attention. Updating to the latest patched version is essential to secure cloud instances and prevent unauthorized access. Utilize tools like Vulert to monitor and manage vulnerabilities effectively.

See every vulnerability recorded for cloud-init →

Share this vulnerability

FAQ

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

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

The risks include unauthorized access to sensitive data and functionalities within cloud instances, which could lead to data breaches or system compromises.

Yes, a patch is available in version 23.4-7.el8_10.10.alma.1 of the cloud-init package.

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

Related vulnerabilities

Recent vulnerabilities recorded for cloud-init.

How To Fix

Minimum fixed version

23.4-7.el8_10.10.alma.1

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