cve.bz

CVE-2018-10896 canonical cloud-init: Use of Hard-coded Cryptographic Key

7.1 highEPSS 0.4%Fix available

High (7.1) in canonical cloud-init. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-321 Use of Hard-coded Cryptographic Key
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10896 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10896?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10896?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10896 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:cloud-initfrom 0.6.2 before 18.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:7::servercloud-init0:19.4-7.el7RHSA-2020:3898
Red Hatenterprise_linux:8::appstreamcloud-init0:19.4-1.el8.7RHSA-2020:3050
Red Hatrhel_eus:8.2::appstreamcloud-init0:18.5-12.el8_2.3RHSA-2020:3644

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7cloud-init-0:19.4-7.el7Fixed 2020-09-29RHSA-2020:3898
Red Hat Enterprise Linux 8cloud-init-0:19.4-1.el8.7Fixed 2020-07-21RHSA-2020:3050
Red Hat Enterprise Linux 8.2 Extended Update Supportcloud-init-0:18.5-12.el8_2.3Fixed 2020-09-08RHSA-2020:3644
Red Hat Enterprise Linux 6cloud-initWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10896.

References

Check your stackJSON