Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-10896
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:51 UTC · Revision 1

Source evidence

CVE-2018-10896

core-osv · Original source

Published 1 Aug 2018, 17:29 UTC

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.

osv:CVE-2018-10896
Complete source record
{
  "id": "e11e527fbe91fdd13e070730c19d186ed37bc572f29cd2f5ce28f961b71fc33f",
  "url": "https://osv.dev/vulnerability/CVE-2018-10896",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-10896",
    "summary": "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.",
    "evidence": "osv:CVE-2018-10896",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-10896",
      "aliases": [
        "CVE-2018-10896"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/canonical/cloud-init",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2a84a2603f22e5362c8a6620bea51df220245d9f"
                },
                {
                  "fixed": "e28000457591bde9f22d6b7a538b1fc33349d780"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.6.2"
                      },
                      {
                        "fixed": "18.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "18.3",
            "18.2",
            "18.1",
            "17.2",
            "17.1",
            "0.7.9",
            "0.7.5",
            "0.7.8",
            "0.6.3",
            "0.6.2",
            "0.7.7",
            "0.7.6",
            "0.7.4",
            "0.7.3",
            "0.7.2",
            "0.7.1",
            "0.7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10896.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:59.317465441Z",
      "provider": "osv",
      "references": [
        "https://bugzilla.redhat.com/show_bug.cgi?id=1574338",
        "https://bugs.launchpad.net/cloud-init/+bug/1781094",
        "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-10896",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439282,
  "published_at": "2018-08-01T17:29:00.393+00:00"
}