USN-6042-1: Cloud-init vulnerability

Published Apr 26, 2023
·
Updated

James Golovich discovered that sensitive data could be exposed in logs. An attacker could use this information to find hashed passwords and possibly escalate their privilege.

Affected Software

12 affected componentsFixes available
All of the following
ubuntu/cloud-init<23.1.2-0ubuntu0~23.04.1
23.1.2-0ubuntu0~23.04.1
Ubuntu Ubuntu=23.04
All of the following
ubuntu/cloud-init<23.1.2-0ubuntu0~22.10.1
23.1.2-0ubuntu0~22.10.1
Ubuntu Ubuntu=22.10
All of the following
ubuntu/cloud-init<23.1.2-0ubuntu0~22.04.1
23.1.2-0ubuntu0~22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/cloud-init<23.1.2-0ubuntu0~20.04.1
23.1.2-0ubuntu0~20.04.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/cloud-init<23.1.2-0ubuntu0~18.04.1
23.1.2-0ubuntu0~18.04.1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/cloud-init<21.1-19-gbad84ad4-0ubuntu1~16.04.4
21.1-19-gbad84ad4-0ubuntu1~16.04.4
Ubuntu Ubuntu=16.04

Event History

Apr 26, 2023
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this cloud-init vulnerability?

The vulnerability ID for this cloud-init vulnerability is USN-6042-1.

2

What is the description of the cloud-init vulnerability?

The cloud-init vulnerability allows sensitive data to be exposed in logs, which could potentially be used to find hashed passwords and escalate privileges.

3

Which software versions are affected by this cloud-init vulnerability?

The cloud-init vulnerability affects versions 23.1.2-0ubuntu0~23.04.1, 23.1.2-0ubuntu0~22.10.1, 23.1.2-0ubuntu0~22.04.1, 23.1.2-0ubuntu0~20.04.1, 23.1.2-0ubuntu0~18.04.1, and 21.1-19-gbad84ad4-0ubuntu1~16.04.4 of cloud-init on Ubuntu.

4

How can an attacker exploit this cloud-init vulnerability?

An attacker can exploit this cloud-init vulnerability by using the exposed sensitive data in the logs to find hashed passwords and potentially escalate their privilege.

5

How can I fix the cloud-init vulnerability?

To fix the cloud-init vulnerability, update to version 23.1.2-0ubuntu0~23.04.1 or later using the provided remedy.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203