{"api_version":"1","generated_at":"2026-05-02T09:20:55+00:00","cve":"CVE-2018-10896","urls":{"html":"https://cve.report/CVE-2018-10896","api":"https://cve.report/api/cve/CVE-2018-10896.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-10896","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-10896"},"summary":{"title":"CVE-2018-10896","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2018-08-01 17:29:00","updated_at":"2023-02-13 04:51:00"},"problem_types":["CWE-321"],"metrics":[],"references":[{"url":"https://bugs.launchpad.net/cloud-init/+bug/1781094","name":"https://bugs.launchpad.net/cloud-init/+bug/1781094","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Bug #1781094 “cloud.cfg.tmpl should not include “ssh_deletekeys:...” : Bugs : cloud-init","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2020:3050","name":"https://access.redhat.com/errata/RHSA-2020:3050","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2020:3644","name":"https://access.redhat.com/errata/RHSA-2020:3644","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1574338","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1574338","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"1574338 – CVE-2018-10896 cloud-init: SSH host keys are not regenerated for the new instances [rhel-7]","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1598831 – (CVE-2018-10896) CVE-2018-10896 cloud-init: default configuration disabled deletion of SSH host keys","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/security/cve/CVE-2018-10896","name":"https://access.redhat.com/security/cve/CVE-2018-10896","refsource":"MISC","tags":[],"title":"CVE-2018-10896 - Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2020:3898","name":"https://access.redhat.com/errata/RHSA-2020:3898","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1598831","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1598831","refsource":"MISC","tags":[],"title":"1598831 – (CVE-2018-10896) CVE-2018-10896 cloud-init: default configuration disabled deletion of SSH host keys","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10896","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10896","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"10896","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"canonical","cpe5":"cloud-init","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"10896","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"canonical","cpe5":"cloud-init","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-10896","qid":"377271","title":"Alibaba Cloud Linux Security Update for cloud-init (ALINUX2-SA-2020:0167)"},{"cve":"CVE-2018-10896","qid":"671398","title":"EulerOS Security Update for cloud-init (EulerOS-SA-2022-1318)"},{"cve":"CVE-2018-10896","qid":"671661","title":"EulerOS Security Update for cloud-init (EulerOS-SA-2022-1709)"},{"cve":"CVE-2018-10896","qid":"900171","title":"CBL-Mariner Linux Security Update for cloud-init 19.1"},{"cve":"CVE-2018-10896","qid":"902792","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for cloud-init (1889)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2018-10896","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-321","cweId":"CWE-321"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Canonical","product":{"product_data":[{"product_name":"cloud-init","version":{"version_data":[{"version_affected":"=","version_value":"0.6.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://bugs.launchpad.net/cloud-init/+bug/1781094","refsource":"MISC","name":"https://bugs.launchpad.net/cloud-init/+bug/1781094"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1574338","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1574338"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896"}]},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.0"}]}},"nvd":{"publishedDate":"2018-08-01 17:29:00","lastModifiedDate":"2023-02-13 04:51:00","problem_types":["CWE-321"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.6},"severity":"LOW","exploitabilityScore":3.9,"impactScore":4.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*","versionStartIncluding":"0.6.2","versionEndExcluding":"18.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"10896","Ordinal":"127348","Title":"CVE-2018-10896","CVE":"CVE-2018-10896","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"10896","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"10896","Ordinal":"2","NoteData":"2018-08-01","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"10896","Ordinal":"3","NoteData":"2018-08-01","Type":"Other","Title":"Modified"}]}}}