---
title: "Canonical cloud-init vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/canonical/cloud-init
type: product
description: "Canonical cloud-init has 9 published CVEs, 0 in CISA KEV and 0 with public exploits."
updated: 2025-06-26
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Canonical cloud-init vulnerabilities

Vendor: [Canonical](https://radicalnotion.ai/vendor/canonical)

- **Published CVEs:** 9
- **In CISA KEV:** 0
- **With a public exploit:** 0
- **With a patch:** 9
- **Average CVSS:** 6.5
- **First CVE:** 2018-08-01
- **Latest CVE:** 2025-06-26
- **Platforms:** linux

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 0 |
| High | 3 |
| Medium | 6 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-532](https://radicalnotion.ai/cwe/cwe-532) | Insertion of Sensitive Information into Log File | 3 |
| [CWE-287](https://radicalnotion.ai/cwe/cwe-287) | Improper Authentication | 1 |
| [CWE-321](https://radicalnotion.ai/cwe/cwe-321) | Use of Hard-coded Cryptographic Key | 1 |
| [CWE-269](https://radicalnotion.ai/cwe/cwe-269) | Improper Privilege Management | 1 |
| [CWE-521](https://radicalnotion.ai/cwe/cwe-521) | Weak Password Requirements | 1 |
| [CWE-732](https://radicalnotion.ai/cwe/cwe-732) | Incorrect Permission Assignment for Critical Resource | 1 |
| [CWE-330](https://radicalnotion.ai/cwe/cwe-330) | Use of Insufficiently Random Values | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2018 | 1 |
| 2019 | 1 |
| 2020 | 2 |
| 2021 | 0 |
| 2022 | 0 |
| 2023 | 3 |
| 2024 | 0 |
| 2025 | 2 |

## Affected versions (top 23 of 74)

| Version | Kind | CVEs |
| --- | --- | --- |
| 0.7.9 | exact | 7 |
| 17.1 | exact | 7 |
| 17.2 | exact | 7 |
| 18.1 | exact | 7 |
| 18.2 | exact | 7 |
| 18.3 | exact | 7 |
| 0.6.2 | exact | 6 |
| 0.6.3 | exact | 6 |
| 0.7.0 | exact | 6 |
| 0.7.1 | exact | 6 |
| 0.7.2 | exact | 6 |
| 0.7.3 | exact | 6 |
| \< 25.1.3 | range | 2 |
| \<= 19.4 | range | 2 |
| \< 0.7.0 | range | 1 |
| \< 21.2 | range | 1 |
| \< 22.3 | range | 1 |
| \< 23.0 | range | 1 |
| \< 23.1.2 | range | 1 |
| 0.6.2 | range | 1 |
| 0.6.2 \<= v \< 18.4 | range | 1 |
| 0.7.9 \<= v \< 25.1.3 | range | 1 |
| 21.3 \<= v \< 25.1.3 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 25.1.3 | 2 |
| 0.7.0 | 1 |
| 18.4 | 1 |
| 21.2 | 1 |
| 22.3 | 1 |
| 23.0 | 1 |
| 23.1.2 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-11584 | cloud-init: Cloud init permissions handling flaw | medium | 5.9 | No | No | Yes |
| CVE-2024-6174 | cloud-init: Cloud init permissions flaw | high | 8.8 | No | No | Yes |
| CVE-2023-1786 | sensitive data exposure in cloud-init logs | medium | 5.5 | No | No | Yes |
| CVE-2022-2084 | sensitive data exposure in cloud-init logs | medium | 5.5 | No | No | Yes |
| CVE-2021-3429 | sensitive data exposure in cloud-init logs | medium | 5.5 | No | No | Yes |
| CVE-2020-8632 | cloud-init: Too short random password length in cc\_set\_password in config/cc\_set\_passwords.py | medium | 5.5 | No | No | Yes |
| CVE-2020-8631 | cloud-init: Use of random.choice when generating random password | medium | 5.5 | No | No | Yes |
| CVE-2012-6639 | cloud-init: insecure transmission of EC2 instance data can lead to root privilege escalation | high | 8.8 | No | No | Yes |
| CVE-2018-10896 | cloud-init: default configuration disabled deletion of SSH host keys | high | 7.1 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Canonical cloud-init have?

Canonical cloud-init has 9 published CVE records since 2018.

### How many Canonical cloud-init CVEs are in CISA KEV?

None of Canonical cloud-init's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Canonical cloud-init vulnerabilities?

No Canonical cloud-init CVEs currently have a tracked public exploit in this dataset.

### Which versions of Canonical cloud-init are affected?

81 distinct Canonical cloud-init versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Canonical cloud-init CVEs?

Canonical cloud-init's CVEs most often map to these CWE weakness types: CWE-532 (Insertion of Sensitive Information into Log File), CWE-287 (Improper Authentication), CWE-321 (Use of Hard-coded Cryptographic Key), CWE-269 (Improper Privilege Management).

### What is the average severity of Canonical cloud-init CVEs?

The average CVSS base score across Canonical cloud-init's scored CVEs is 6.5.

## Other products from this vendor

- [Ubuntu Linux](https://radicalnotion.ai/vendor/canonical/ubuntu-linux) (4,194 CVEs)
- [LXD](https://radicalnotion.ai/vendor/canonical/lxd) (86 CVEs)
- [Apport](https://radicalnotion.ai/vendor/canonical/apport) (42 CVEs)
- [snapd](https://radicalnotion.ai/vendor/canonical/snapd) (22 CVEs)
- [Juju](https://radicalnotion.ai/vendor/canonical/juju) (21 CVEs)
- [github.com/canonical/lxd](https://radicalnotion.ai/vendor/canonical/github-com-canonical-lxd) (15 CVEs)
- [Ubuntu 22.04 LTS](https://radicalnotion.ai/vendor/canonical/ubuntu-22-04-lts) (8 CVEs)
- [Ubuntu 24.04 LTS](https://radicalnotion.ai/vendor/canonical/ubuntu-24-04-lts) (8 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/canonical/cloud-init). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
