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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "21.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "b794d426b9ab43ea9d6371477466070d86e10668"
}
],
"source": "REFERENCES_COMMIT"
}
]
}