ubuntu-cve-2020-8631
Vulnerability from osv_ubuntu
Published
2020-02-05 14:15
Modified
2025-09-08 16:45
Summary
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.
Severity
5.5 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cloud-init",
"binary_version": "21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2"
},
{
"binary_name": "ec2-init",
"binary_version": "21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2"
},
{
"binary_name": "grub-legacy-ec2",
"binary_version": "21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "cloud-init",
"purl": "pkg:deb/ubuntu/cloud-init@21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.7.7~bzr1149-0ubuntu1",
"0.7.7~bzr1154-0ubuntu1",
"0.7.7~bzr1155-0ubuntu1",
"0.7.7~bzr1156-0ubuntu1",
"0.7.7~bzr1156-0ubuntu2",
"0.7.7~bzr1160-0ubuntu1",
"0.7.7~bzr1176-0ubuntu1",
"0.7.7~bzr1182-0ubuntu1",
"0.7.7~bzr1189-0ubuntu1",
"0.7.7~bzr1192-0ubuntu1",
"0.7.7~bzr1192-0ubuntu2",
"0.7.7~bzr1200-0ubuntu1",
"0.7.7~bzr1208-0ubuntu1",
"0.7.7~bzr1209-0ubuntu1",
"0.7.7~bzr1212-0ubuntu1",
"0.7.7~bzr1246-0ubuntu1~16.04.1",
"0.7.7~bzr1256-0ubuntu1~16.04.1",
"0.7.8-1-g3705bb5-0ubuntu1~16.04.1",
"0.7.8-1-g3705bb5-0ubuntu1~16.04.3",
"0.7.8-49-g9e904bb-0ubuntu1~16.04.1",
"0.7.8-49-g9e904bb-0ubuntu1~16.04.2",
"0.7.8-49-g9e904bb-0ubuntu1~16.04.3",
"0.7.8-49-g9e904bb-0ubuntu1~16.04.4",
"0.7.9-0ubuntu1~16.04.2",
"0.7.9-48-g1c795b9-0ubuntu1~16.04.1",
"0.7.9-90-g61eb03fe-0ubuntu1~16.04.1",
"0.7.9-113-g513e99e0-0ubuntu1~16.04.1",
"0.7.9-153-g16a7302f-0ubuntu1~16.04.1",
"0.7.9-153-g16a7302f-0ubuntu1~16.04.2",
"0.7.9-233-ge586fe35-0ubuntu1~16.04.1",
"0.7.9-233-ge586fe35-0ubuntu1~16.04.2",
"17.1-27-geb292c18-0ubuntu1~16.04.1",
"17.1-46-g7acc9e68-0ubuntu1~16.04.1",
"17.2-35-gf576b2a2-0ubuntu1~16.04.2",
"18.2-4-g05926e48-0ubuntu1~16.04.1",
"18.2-4-g05926e48-0ubuntu1~16.04.2",
"18.3-9-g2e62cb8a-0ubuntu1~16.04.2",
"18.4-0ubuntu1~16.04.2",
"18.5-21-g8ee294d5-0ubuntu1~16.04.1",
"18.5-45-g3554ffe8-0ubuntu1~16.04.1",
"19.1-1-gbaa47854-0ubuntu1~16.04.1",
"19.2-24-ge7881d5c-0ubuntu1~16.04.1",
"19.2-36-g059d049c-0ubuntu1~16.04.1",
"19.2-36-g059d049c-0ubuntu2~16.04.1",
"19.3-41-gc4735dd3-0ubuntu1~16.04.1",
"19.4-33-gbb4131a2-0ubuntu1~16.04.1",
"20.2-45-g5f7825e2-0ubuntu1~16.04.1",
"20.3-2-g371b392c-0ubuntu1~16.04.1",
"20.4-0ubuntu1~16.04.1",
"20.4-0ubuntu1~16.04.2",
"20.4.1-0ubuntu1~16.04.1",
"21.1-19-gbad84ad4-0ubuntu1~16.04.1",
"21.1-19-gbad84ad4-0ubuntu1~16.04.2",
"21.1-19-gbad84ad4-0ubuntu1~16.04.4",
"21.1-19-gbad84ad4-0ubuntu1~16.04.4+esm2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cloud-init",
"binary_version": "20.2-45-g5f7825e2-0ubuntu1~18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "cloud-init",
"purl": "pkg:deb/ubuntu/cloud-init@20.2-45-g5f7825e2-0ubuntu1~18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "20.2-45-g5f7825e2-0ubuntu1~18.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"17.1-18-gd4f70470-0ubuntu1",
"17.1-25-g17a15f9e-0ubuntu1~17.10.1",
"17.1-25-g17a15f9e-0ubuntu1",
"17.1-27-geb292c18-0ubuntu1",
"17.1-41-g76243487-0ubuntu1",
"17.1-46-g7acc9e68-0ubuntu1",
"17.1-51-g05b2308a-0ubuntu1",
"17.1-53-ga5dc0f42-0ubuntu1",
"17.1-58-g703241a3-0ubuntu1",
"17.1-60-ga30a3bb5-0ubuntu1",
"17.2-1-g4089e20c-0ubuntu1",
"17.2-9-gdf24daa8-0ubuntu1",
"17.2-13-g6299e8d0-0ubuntu1",
"17.2-20-g32a6a176-0ubuntu1",
"17.2-25-gc03bdd3d-0ubuntu1",
"17.2-30-gf7deaf15-0ubuntu1",
"17.2-34-g644048e3-0ubuntu1",
"18.1-0ubuntu1",
"18.1-5-g40e77380-0ubuntu1",
"18.1-17-g97012fbb-0ubuntu1",
"18.1-23-gde34dc7c-0ubuntu1",
"18.1-26-g685f9901-0ubuntu1",
"18.1-35-ge0f644b7-0ubuntu1",
"18.1-35-ge0f644b7-0ubuntu2",
"18.2-0ubuntu1",
"18.2-4-g05926e48-0ubuntu1",
"18.2-4-g05926e48-0ubuntu2",
"18.2-9-g49b562c9-0ubuntu1",
"18.2-14-g6d48d265-0ubuntu1",
"18.2-27-g6ef92c98-0ubuntu1~18.04.1",
"18.3-9-g2e62cb8a-0ubuntu1~18.04.2",
"18.4-0ubuntu1~18.04.1",
"18.5-21-g8ee294d5-0ubuntu1~18.04.1",
"18.5-45-g3554ffe8-0ubuntu1~18.04.1",
"19.1-1-gbaa47854-0ubuntu1~18.04.1",
"19.2-24-ge7881d5c-0ubuntu1~18.04.1",
"19.2-36-g059d049c-0ubuntu1~18.04.1",
"19.2-36-g059d049c-0ubuntu2~18.04.1",
"19.3-41-gc4735dd3-0ubuntu1~18.04.1",
"19.4-33-gbb4131a2-0ubuntu1~18.04.1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2020-8631",
"modified": "2025-09-08T16:45:59Z",
"published": "2020-02-05T14:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-8631"
},
{
"type": "REPORT",
"url": "https://github.com/canonical/cloud-init/pull/204"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-8631"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-8631"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…