Medium
Security advisory
In cloud-init through 19.4, rand_user_password in cloudinit/config/cc_set_passwords.py has a small default pwlen value, which makes it easier for attackers to guess passwords.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-8632
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:31 UTC · Revision 1
Source evidence
In cloud-init through 19.4, rand_user_password in cloudinit/config/cc_set_passwords.py has a small default pwlen value, which makes it easier for attackers to guess passwords.
osv:CVE-2020-8632
Complete source record
{
"id": "0172891bb7e491a597d353c3abf32617599ae777132e986c01ca3cc8978d21d9",
"url": "https://osv.dev/vulnerability/CVE-2020-8632",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-8632",
"summary": "In cloud-init through 19.4, rand_user_password in cloudinit/config/cc_set_passwords.py has a small default pwlen value, which makes it easier for attackers to guess passwords.",
"evidence": "osv:CVE-2020-8632",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-8632",
"aliases": [
"CVE-2020-8632"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/canonical/cloud-init",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "a1063b89e32fa698382bb9617632c0b5f206cdb4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "19.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"19.1",
"19.4",
"19.3",
"19.2",
"18.5",
"18.4",
"18.3",
"18.2",
"18.1",
"17.2",
"17.1",
"0.7.9",
"0.7.5",
"0.7.8",
"0.6.3",
"0.6.2",
"0.7.7",
"0.7.6",
"0.7.4",
"0.7.3",
"0.7.2",
"0.7.1",
"0.7.0",
"0.6.1",
"0.6.0",
"0.5.16pre1",
"0.5.15",
"0.5.14",
"0.5.13",
"0.5.12",
"0.5.11",
"0.5.10",
"0.5.8",
"0.5.6",
"0.5.5",
"0.5.4",
"0.5.3",
"0.5.2",
"0.5.1",
"0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8632.json"
}
}
],
"modified": "2026-10-20T10:54:25.412803822Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html",
"https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795",
"https://github.com/canonical/cloud-init/pull/189"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-8632",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385340,
"published_at": "2020-02-05T14:15:11.653+00:00"
}