# CVE-2020-8631

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-02-05 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-8631, DEBIAN-CVE-2020-8631
- Record: https://cvemate.com/vulnerability/CVE-2020-8631 · JSON: https://cvemate.com/vulnerability/CVE-2020-8631/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.435%, percentile 39.537%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical cloud-init: ≤ 19.4
- debian cloud-init (Debian): \< 19.4-2
- ubuntu cloud-init (Ubuntu): All versions (No fix recorded) \| \< 20.2-45-g5f7825e2-0ubuntu1~18.04.1
- debian debian\_linux: 8.0
- opensuse leap: 15.1

## References

- <https://github.com/canonical/cloud-init/pull/204>
- <https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795>
- <https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html>
- <http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html>
- <https://ubuntu.com/security/CVE-2020-8631>
- <https://www.cve.org/CVERecord?id=CVE-2020-8631>
- <https://security-tracker.debian.org/tracker/CVE-2020-8631>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8631>

---

Data as of 2026-12-05T02:45:56.399Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
