CVE-2020-8631

cloud-init: Use of random.choice when generating random password

Published Feb 5, 2020 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2113-1 cloud-init security update
EUVD EUVD EUVD-2020-29479 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 10:03 AM
Reserved
Feb 5, 2020, 12:00 AM
Status
Modified
Published
Feb 5, 2020, 2:15 PM
Modified
Jun 17, 2026, 3:26 AM
Severity
Moderate
Public date
Feb 5, 2020, 12:00 AM