CVE-2020-8631 Weak cryptography in n/a
Attackers can predict random passwords generated by cloud-init due to weak randomness, potentially leading to unauthorized access.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-8631?
CVE-2020-8631 is a medium-severity vulnerability in Debian Debian Linux, published on 5 Feb 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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 function.
Weakness: CWE-330
Which versions are affected by CVE-2020-8631?
It affects 3 products.
Products include Canonical Cloud-Init, Debian Debian Linux, Opensuse Leap.
How do I fix CVE-2020-8631?
Apply the vendor's patch.
Is CVE-2020-8631 being exploited?
There is no known exploitation of CVE-2020-8631 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-8631, GHSA-2r47-hhff-7qcp, UBUNTU-CVE-2020-8631.