Public on 2021-03-18
Modified on 2021-03-19
A flaw was found in cloud-init. When a system is configured through cloud-init and the "Set Passwords" module is used with "chpasswd" directive and "RANDOM", the randomly generated password for the relative user is written in clear-text in a file readable by any existing user of the system. The highest threat from this vulnerability is to data confidentiality and it may allow a local attacker to log in as another user.
CVSS v3 Base Score
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 cloud-init 2021-03-18 18:06 ALAS2-2021-1620
Amazon Linux 1 cloud-init 2021-03-18 17:22 ALAS-2021-1486

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N