Skip to content
OpenAdvisories
Medium · 4.6 CVE-2018-10896 EUVD-2018-2955GHSA-rwhw-r234-9p3m

The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh h…

Published Aug 1, 2018 · Updated Aug 5, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Canonical cloud-init 0.6.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 8 cloud-init 19.4-1.el8.7 RHSA-2020:3050
RHEL 7 cloud-init 19.4-7.el7 RHSA-2020:3898
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS cloud-init 18.5-12.el8_2.3 RHSA-2020:3644

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 cloud-init 19.3-4.amzn2 ALAS2-2021-1576

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 cloud-init 19.4-7.0.3.el7 ELSA-2020-3898

Advisories 5

References