Cloud-init Bug Fix and Enhancement Update - AlmaLinux:8

cloud-init Updated 02 Oct 2025

Summary

21/12/2021
N/A
Yes i
Unrated
Not published

ALEA-2021:5239: cloud-init bug fix and enhancement update. Affects cloud-init versions < 21.1-7.el8_5.3.alma. Fixed in 21.1-7.el8_5.3.alma. 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 packages provide a set of init scripts for cloud instances. These scripts are essential for cloud instances as they facilitate the retrieval and installation of SSH keys and allow users to run various scripts during initialization.

Cloud-init is commonly used in AlmaLinux:8 to configure routes and perform other initialization tasks.

Vulnerability Detail

The vulnerability identified in this update is related to the cloud-init service failing to start after a package update. This issue can cause disruptions in the initialization process of cloud instances, leading to potential delays or failures in retrieving SSH keys and executing necessary scripts.

Additionally, versions above 19.2 of cloud-init in AlmaLinux:8 may fail to configure routes when attempting to set up both static and default routes to the same destination IP. This can result in incorrect routing configurations and potential network connectivity issues.

How To Fix

Minimum fixed version

21.1-7.el8_5.3.alma

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 →

Conclusion

The cloud-init bug fix and enhancement update addresses the issue of the service failing to start after a package update and resolves the route configuration issue. It is recommended to update the cloud-init package to the specified version to ensure proper service initialization and avoid potential network connectivity issues.

For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cloud-init →

Share this vulnerability

FAQ

Cloud-init is a set of init scripts used in cloud instances to retrieve and install SSH keys, as well as execute various scripts during initialization.

The failure of the cloud-init service to start can result in delays or failures in retrieving SSH keys and executing necessary scripts during the initialization process of cloud instances.

To fix the cloud-init service startup issue, update the cloud-init package to version 21.1-7.el8_5.3.alma or later.

Configuring both static and default routes to the same destination IP can lead to incorrect routing configurations and potential network connectivity issues.

To avoid the route configuration issue, choose either static or default routes based on your specific requirements and network setup.

Related vulnerabilities

Recent vulnerabilities recorded for cloud-init.

How To Fix

Minimum fixed version

21.1-7.el8_5.3.alma

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