Use of Insufficiently Random Values The advisory has been revoked - it doesn't affect any version of package cloud-init  (opens in a new tab)


Threat Intelligence

EPSS
0.44% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-CLOUDINIT-1128315
  • published20 Jan 2022
  • disclosed5 Feb 2020

Introduced: 5 Feb 2020

CVE-2020-8631  (opens in a new tab)
CWE-330  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:16.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cloud-init package and not the cloud-init package as distributed by Ubuntu.

cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because rand_str in cloudinit/util.py calls the random.choice function.