Skip to content
OpenAdvisories
Medium ALAS2-2021-1576 3 CVEs

Moderate: cloud-init security update (Amazon Linux 2)

Published Jan 5, 2021 · Updated Jan 6, 2021

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2020-8632: A flaw was found in cloud-init, where it uses short passwords when generating a random password in new instances. Depending on the instance configuration, a remote or local attacker may abuse this vulnerability to guess the password of the victim user. 1798728: CVE-2020-8632 cloud-init: Too short random password length in cc_set_password in config/cc_set_passwords.py CVE-2020-8631: A flaw was found in cloud-init, where it uses the random.choice function when creating sensitive random strings used for generating a random password in new instances. Depending on the instance configuration, a remote or local attacker may abuse this vulnerability to guess the password of the victim user. 1798731: CVE-2020-8631 cloud-init: Use of random.choice when generating random password CVE-2018-10896: The default cloud-init configuration included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh host keys. In some environments, this could lead to instances created by cloning a golden master or template system, sharing ssh host keys, and being able to impersonate one another or conduct man-in-the-middle attacks. 1598831: CVE-2018-10896 cloud-init: default configuration disabled deletion of SSH host keys

Fixed packages 1

ReleasePackageFixed in
Amazon Linux · 2 cloud-init 0:19.3-4.amzn2

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2018-10896.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-8631.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-8632.html