CVE-2018-10896: canonical cloud-init Use of Hard-coded Cryptographic Key
Vulnerability summary
CVE-2018-10896 is a high (CVSS 7.1) Use of Hard-coded Cryptographic Key vulnerability in canonical cloud-init. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 27.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 01-08-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 3 versions- NVDNIST4.6MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- OSV · Red hatEcosystem advisory · calculated4.6MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.35%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
0.00 pp
From 0.35% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Canonical1 product
- cloud-init0.6.2 | ≥ 0.6.2, < 18.4
Redhat1 product
- cloud-init< 0:19.4-1.el8.7 | < 0:18.5-12.el8_2.3
2 vendors · 2 products
References
17 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896X Refsource CONFIRMIssue TrackingPatchThird Party Advisory