CVE-2018-10896
published medium CVSS 3.0 · 4.6cloud-init: default configuration disabled deletion of SSH host keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | cloud-init0.6.2 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1576 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | cloud-initaarch64 | Advisory build | 0:19.4-7.0.3.el7 | ELSA-2020-3898 |
| Red Hat Enterprise Linux | RHEL-7 | cloud-initppc64 | Advisory build | 19.4-7.el7 | RHSA-2020:3898 |
| Amazon Linux | AL2 | cloud-initnoarch | Listed in advisory | Not stated | ALAS2-2021-1576 |
| Oracle Linux | 7 | cloud-initx86_64 | Advisory build | 0:19.4-7.0.3.el7 | ELSA-2020-3898 |
| Red Hat Enterprise Linux | RHEL-7 | cloud-initppc64le | Advisory build | 19.4-7.el7 | RHSA-2020:3898 |
| Red Hat Enterprise Linux | RHEL-7 | cloud-inits390x | Advisory build | 19.4-7.el7 | RHSA-2020:3898 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | cloud-initsrc | Advisory build | 19.4-7.el7 | RHSA-2020:3898 |
| Red Hat Enterprise Linux | RHEL-7 | cloud-initx86_64 | Advisory build | 19.4-7.el7 | RHSA-2020:3898 |
| Red Hat Enterprise Linux | RHEL-8 | cloud-initnoarch | Advisory build | 18.5-12.el8_2.3 | RHSA-2020:3644 |
| Red Hat Enterprise Linux | RHEL-8 | cloud-initnoarch | Advisory build | 19.4-1.el8.7 | RHSA-2020:3050 |
| Red Hat Enterprise Linux | RHEL-8 | cloud-initsrc | Advisory build | 18.5-12.el8_2.3 | RHSA-2020:3644 |
| Red Hat Enterprise Linux | RHEL-8 | cloud-initsrc | Advisory build | 19.4-1.el8.7 | RHSA-2020:3050 |
| Amazon Linux | AL2 | cloud-initsrc | Listed in advisory | Not stated | ALAS2-2021-1576 |
Description
The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh host keys. In some environments, this could lead to instances created by cloning a golden master or template system, sharing ssh host keys, and being able to impersonate one another or conduct man-in-the-middle attacks.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | cloud-init | 0.6.2 (affected) | redhat · cna |
Weaknesses
1- CWE-321
References
3Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6de550787de403a0be2b0449047c5cc39e59c9fff944a2161c61f8b2ccf3be0e
- Ingested
- 23 Sep 2026, 07:43:23 UTC
- Source record
- Official CVE record