{"id":"CVE-2018-10896","aliases":["EUVD-2018-2955","GHSA-rwhw-r234-9p3m","RHSA-2020:3050","RHSA-2020:3644","RHSA-2020:3898"],"status":"published","title":"The default cloud-init configuration, in cloud-init 0.6.2 and newer, included \"ssh_deletekeys: 0\"...","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.","severity":{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00366,"percentile":0.30682,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-321"],"published":"2018-08-01T17:00:00Z","modified":"2026-10-24T10:30:59Z","fixes":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"cloud-init","fixed_in":["0:19.4-1.el8.7"],"sources":["osv"]},{"ecosystem":"Red Hat:rhel_eus:8.2::appstream","package":"cloud-init","fixed_in":["0:18.5-12.el8_2.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"cloud-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:19.4-1.el8.7"}]}]},{"source":"osv","ecosystem":"Red Hat:rhel_eus:8.2::appstream","package":"cloud-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:18.5-12.el8_2.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"cloud-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:19.4-7.el7"}]}],"bundled":3}],"products":[{"vendor":"canonical","product":"cloud-init"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://bugs.launchpad.net/cloud-init/+bug/1781094","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1574338","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10896","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:3050","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:3644","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:3898","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-10896","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1598831","tags":["report"]},{"url":"https://github.com/advisories/GHSA-rwhw-r234-9p3m"},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.2_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1811912","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1831646","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1844366","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1850456","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3050.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10896","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3644.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.9_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1748015","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1772505","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1793652","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1798728","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1798731","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1803094","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1821679","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1821999","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3898.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-8631","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8631","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8631","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-8632","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8632","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8632","tags":["advisory"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2018-08-01T17:00:00Z","modified":"2024-08-05T07:54:36.167Z","cvss":[{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-321"],"updated_at":"2026-11-02T14:35:01.619448Z"}],"euvd":[{"id":"EUVD-2018-2955","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.","status":"published","published":"2018-08-01T17:00:00Z","modified":"2024-08-05T07:54:36Z","cvss":[{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T02:39:57.009215Z"}],"ghsa":[{"id":"GHSA-rwhw-r234-9p3m","title":"The default cloud-init configuration, in cloud-init 0.6.2 and newer, included \"ssh_deletekeys: 0\"...","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.","status":"published","published":"2022-05-13T01:13:59Z","modified":"2023-02-13T06:32:01Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-321"],"updated_at":"2026-11-02T14:54:06.501947Z"}],"nvd":[{"id":"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.","status":"published","published":"2018-08-01T17:29:00.393Z","modified":"2026-06-17T01:34:51.937Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-321"],"updated_at":"2026-11-02T14:04:35.310988Z"}],"osv":[{"id":"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.","status":"published","published":"2018-08-01T17:29:00.393Z","modified":"2026-10-24T10:30:59.317465441Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"RHSA-2020:3050","title":"Red Hat Security Advisory: cloud-init security, bug fix, and enhancement update","status":"published","published":"2024-09-16T03:46:38Z","modified":"2026-07-01T10:05:46Z","cvss":[{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:07.072948Z"},{"id":"RHSA-2020:3644","title":"Red Hat Security Advisory: cloud-init security update","status":"published","published":"2024-09-16T03:46:46Z","modified":"2026-07-01T10:05:47Z","cvss":[{"version":"3.0","score":4.6,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:07.57369Z"},{"id":"RHSA-2020:3898","title":"Red Hat Security Advisory: cloud-init security, bug fix, and enhancement update","status":"published","published":"2024-09-16T03:46:53Z","modified":"2026-07-01T10:05:49Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:07.57369Z"}]}}
