CVE-2021-3429

Medium

Description

When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.

SeverityMedium
CVSS5.5
Exploit probability—
ProductCanonical Cloud-init
PublishedApr 19, 2023
First seenApr 19, 2023
Weakness typeCWE-532CWE-532

How to fix

Affected products

ProductAffected versionsFixed in
canonical cloud-initv < 21.221.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.