Distro News

Ubuntu releases security updates for cloud-init password configuration vulnerability

Key Takeaway

A flaw in cloud-init's error handling could allow unauthorized passwordless access to user accounts on systems with unconfigured SSSD.

Summary

Ubuntu has issued security updates for the cloud-init package to address a vulnerability that could lead to unauthorized account access. The issue arises when cloud-init attempts to configure user passwords on systems where the System Security Services Daemon (SSSD) is installed but has not been properly configured.

Under specific error conditions, the initialization tool fails to handle the configuration process correctly, potentially allowing an attacker to bypass password requirements. This affects users running Ubuntu 26.10 and 26.04 LTS. The fix is available via standard system updates for the cloud-init and cloud-init-base packages.

Vulnerability details and affected versions

  • Defect Class: Improper error handling during user password configuration.
  • Attack Vector: Potential unauthorized access to user accounts without a password when SSSD is present but unconfigured.
  • Affected Packages: cloud-init and cloud-init-base on Ubuntu 26.10 and 26.04 LTS.
  • Fixed Versions (26.10): cloud-init and cloud-init-base version 26.2-0ubuntu3~26.10.1.
  • Fixed Versions (26.04 LTS): cloud-init and cloud-init-base version 26.2-0ubuntu1~26.04.2.

Why it matters

This vulnerability is particularly significant for cloud infrastructure providers and system administrators who use cloud-init for automated instance provisioning. If SSSD is part of a standard image but not fully initialized, the security of the provisioned user accounts could be compromised.

What to do

  • Ubuntu 26.10 users should update cloud-init and cloud-init-base to version 26.2-0ubuntu3~26.10.1.
  • Ubuntu 26.04 LTS users should update cloud-init and cloud-init-base to version 26.2-0ubuntu1~26.04.2.
  • Perform a standard system update to apply these fixes.

Original reference: ubuntu.com →