CVE-2020-8631

Source
https://cve.org/CVERecord?id=CVE-2020-8631
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8631.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-8631
Downstream
Related
Published
2020-02-05T14:15:11.607Z
Modified
2026-02-04T06:29:03.454957Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/canonical/cloud-init

Affected ranges

Type
GIT
Repo
https://github.com/canonical/cloud-init
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

0.*
0.5.0
0.5.1
0.5.10
0.5.11
0.5.12
0.5.13
0.5.14
0.5.15
0.5.16pre1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.8
0.6.0
0.6.1
0.6.2
0.6.3
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.7.6
0.7.7
0.7.8
0.7.9
17.*
17.1
17.2
18.*
18.1
18.2
18.3
18.4
18.5
19.*
19.1
19.2
19.3
19.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8631.json"