ALBA-2022:4697 cloud-init bug fix update

Not scored Published

Cloud-init failed to handle SSH keys with carriage returns, preventing instance initialization on Azure; this update fixes the parsing logic.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is ALBA-2022:4697?

ALBA-2022:4697 is a vulnerability in cloud-init, published on 23 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.

Bug Fix:

  • Previously, cloud-init incorrectly handled SSH keys containing \r\n characters. As a consequence, cloud-init could not be used in Microsoft Azure. This update has changed how cloud-init handles SSH keys so the described keys work as expected in Azure. (BZ#2088028)

Which versions are affected by ALBA-2022:4697?

Linux distribution packages (1)
cloud-init AlmaLinux:8All versions21.1-15.el8.alma

How do I fix ALBA-2022:4697?

Apply the vendor's patch.

Is ALBA-2022:4697 being exploited?

There is no known exploitation of ALBA-2022:4697 in the wild and no public exploit code.

Sources

Is ALBA-2022:4697 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free