CVE-2018-10896
CVE-2018-10896 is a high-severity vulnerability in Canonical Cloud-init with a CVSS 3.x base score of 7.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-321.
Key facts
- Severity: High (CVSS 3.x base score 7.1)
- CVSS v2: 3.6
- EPSS exploit prediction: 0% (28th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-321
- Affected product: Canonical Cloud-init
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-10896?
- 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.
- How severe is CVE-2018-10896?
- CVE-2018-10896 has a CVSS 3.x base score of 7.1, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2018-10896 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-10896?
- CVE-2018-10896 affects Canonical Cloud-init. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-10896?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-10896 published?
- CVE-2018-10896 was published on 2018-08-01 and last updated on 2026-06-17.
References
- https://bugs.launchpad.net/cloud-init/+bug/1781094
- https://bugzilla.redhat.com/show_bug.cgi?id=1574338
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896
Affected products (1)
- cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*
More vulnerabilities in Canonical Cloud-init
- CVE-2024-6174 — High (CVSS 8.8): When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address. To…
- CVE-2012-6639 — High (CVSS 8.8): An privilege elevation vulnerability exists in Cloud-init before 0.7.0 when requests to an untrusted system are…
- CVE-2024-11584 — Medium (CVSS 5.9): cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that…
- CVE-2023-1786 — Medium (CVSS 5.5): Sensitive data could be exposed in logs of cloud-init before version 23.1.2. An attacker could use this information to…
- CVE-2022-2084 — Medium (CVSS 5.5): Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are…
- CVE-2021-3429 — Medium (CVSS 5.5): When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that…
All CVEs affecting Canonical Cloud-init →
Other CWE-321 vulnerabilities
- CVE-2024-30207 — Critical (CVSS 10.0): A vulnerability has been identified in SIMATIC RTLS Locating Manager (6GT2780-0DA00) (All versions < V3.0.1.1), SIMATIC…
- CVE-2014-5419 — Critical (CVSS 10.0): GE Multilink ML800, ML1200, ML1600, and ML2400 switches with firmware 4.2.1 and earlier and Multilink ML810, ML3000,…
- CVE-2024-35344 — Critical (CVSS 9.9): Certain Anpviz products contain a hardcoded cryptographic key stored in the firmware of the device. This affects…
- CVE-2026-28742 — Critical (CVSS 9.8): Naxclow devices use a uniform request-signing scheme based on a hard-coded, platform-wide salt embedded in every…
- CVE-2026-32644 — Critical (CVSS 9.8): Specific firmware versions of Milesight AIOT cameras use SSL certificates with default private keys.
- CVE-2025-67112 — Critical (CVSS 9.8): Use of a hard-coded AES-256-CBC key in the configuration backup/restore implementation of Small Cell Sercomm SCE4255W…