MGASA-2021-0494 - Updated cloud-init packages fix security vulnerability

Publication date: 29 Oct 2021
URL: https://advisories.mageia.org/MGASA-2021-0494.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2021-3429

cloud-init has the ability to generate and set a randomized password for
system users. This functionality is enabled at runtime by passing
cloud-config data such as: 'chpasswd: list: | user1:RANDOM'

When instructing cloud-init to set a random password for a new user
account, versions before 21.1.19 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 (CVE-2021-3429).

References:
- https://bugs.mageia.org/show_bug.cgi?id=28991
- https://www.debian.org/lts/security/2021/dla-2601
- https://github.com/canonical/cloud-init/releases/tag/21.2
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3429

SRPMS:
- 8/core/cloud-init-20.2-2.1.mga8