Ubuntu 6342 Published by

A cloud-init security update has been released for Ubuntu Linux 18.04 LTS, 20.04 LTS, 21.10, and 22.04 LTS.



USN-5496-1: cloud-init vulnerability


=========================================================================
Ubuntu Security Notice USN-5496-1
June 29, 2022

cloud-init vulnerability
=========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 21.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

cloud-init could be made to expose sensitive information.

Software Description:
- cloud-init: initialization and customization tool for cloud instances

Details:

Mike Stroyan discovered that cloud-init could log password hashes when
reporting schema failures. An attacker with access to these logs could
potentially use this to gain user credentials.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS:
cloud-init 22.2-0ubuntu1~22.04.3

Ubuntu 21.10:
cloud-init 22.2-0ubuntu1~21.10.3

Ubuntu 20.04 LTS:
cloud-init 22.2-0ubuntu1~20.04.3

Ubuntu 18.04 LTS:
cloud-init 22.2-0ubuntu1~18.04.3

In general, a standard system update will make the necessary changes.
Please note that sensitive information may have been logged to remote
logging aggregators as well as to the system journal, and removal of
such information may be required. Similarly, cloud-init configurations
that log in non-default locations may also require the removal of
sensitive information.

References:
  https://ubuntu.com/security/notices/USN-5496-1
CVE-2022-2084

Package Information:
  https://launchpad.net/ubuntu/+source/cloud-init/22.2-0ubuntu1~22.04.3
  https://launchpad.net/ubuntu/+source/cloud-init/22.2-0ubuntu1~21.10.3
  https://launchpad.net/ubuntu/+source/cloud-init/22.2-0ubuntu1~20.04.3
  https://launchpad.net/ubuntu/+source/cloud-init/22.2-0ubuntu1~18.04.3