CVE-2020-8631
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.43% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 37.4% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2020-02-05 13:39Z6 YR AGO
- Last updated
- 2024-08-04 10:03Z2 YR AGO
- Reserved
- 2020-02-05
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-330Use of Insufficiently Random ValuesClass
- Data version
- 5.1
- Document digest
- b69f2b4c4942e5d8c9bee8b7b9f4033c263b4fdd86872f044ed8122e110c803e
05 Affected products
06 References
- github.comhttps://github.com/canonical/cloud-init/pull/204
- bugs.launchpad.nethttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
- lists.debian.org[debian-lts-announce] 20200221 [SECURITY] [DLA 2113-1] cloud-init security updatehttps://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
- lists.opensuse.orgopenSUSE-SU-2020:0400http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
07 Fixed in
Debian 12
- cloud-init Fixed in 19.4-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- cloud-init Fixed in 19.4-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- cloud-init Fixed in 19.4-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- cloud-init Fixed in 20.2-45-g5f7825e2-0ubuntu1~18.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- cloud-init No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.