# CVE-2023-1786: cloud-init: The cloud-init packages provide a set of init scripts for cloud instances

CVE-2023-1786 is fixed in cloud-init on 1 platform, first by cloud-init 23.1.2-0ubuntu0~18.04.1, released April 25, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-1786
- Priority: Routine
- CVSS: 5.5 (Moderate)
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 25, 2023

## Description

The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.  Security Fix(es):  * cloud-init: sensitive data could be exposed in logs (CVE-2023-1786)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.9 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cloud-init Debian 13.5 (trixie) | 23.2-1 | [DEBIAN-CVE-2023-1786](https://patchblox.com/security/data/fix/linux/debian-cve-2023-1786.md) | Apr 26, 2023 |
| Linux | cloud-init Debian 14 | 23.2-1 | [DEBIAN-CVE-2023-1786](https://patchblox.com/security/data/fix/linux/debian-cve-2023-1786.md) | Apr 26, 2023 |
| Linux | cloud-init RHEL 8 | 0:23.1.1-10.el8 | [RHSA-2023:6943](https://patchblox.com/security/data/fix/linux/rhsa-2023-6943.md) | Nov 14, 2023 |
| Linux | cloud-init RHEL 9 | 0:23.1.1-11.el9 | [RHSA-2023:6371](https://patchblox.com/security/data/fix/linux/rhsa-2023-6371.md) | Nov 7, 2023 |
| Linux | cloud-init Ubuntu 18.04.6 LTS (bionic) | 23.1.2-0ubuntu0~18.04.1 | [cloud-init 23.1.2-0ubuntu0~18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-cloud-init-23.1.2-0ubuntu0-18.04.1.md) | Apr 25, 2023 |
| Linux | cloud-init Ubuntu 20.04 LTS (focal) | 23.1.2-0ubuntu0~20.04.1 | [cloud-init 23.1.2-0ubuntu0~20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cloud-init-23.1.2-0ubuntu0-20.04.1.md) | Apr 25, 2023 |
| Linux | cloud-init Ubuntu 22.04.1 LTS (jammy) | 23.1.2-0ubuntu0~22.04.1 | [cloud-init 23.1.2-0ubuntu0~22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cloud-init-23.1.2-0ubuntu0-22.04.1.md) | Apr 25, 2023 |
| Linux | cloud-init almalinux 8 | 23.1.1-10.el8.alma.1 | [ALSA-2023:6943](https://patchblox.com/security/data/fix/linux/alsa-2023-6943.md) | Nov 14, 2023 |
| Linux | cloud-init almalinux 9 | 23.1.1-11.el9.alma.1 | [ALSA-2023:6371](https://patchblox.com/security/data/fix/linux/alsa-2023-6371.md) | Nov 7, 2023 |
| Linux | cloud-init amzn 2023 | 22.2.2-1.amzn2023.1.8 | [ALAS2023-2023-196](https://patchblox.com/security/data/fix/linux/alas2023-2023-196.md) | Jun 5, 2023 |
| Linux | cloud-init ol 8 | 0:22.1-6.0.4.el8_7.2 | [ELSA-2023-12298](https://patchblox.com/security/data/fix/linux/elsa-2023-12298.md) | Apr 27, 2023 |
| Linux | cloud-init ol 9 | 0:23.1.1-11.0.2.el9 | [ELSA-2023-6371](https://patchblox.com/security/data/fix/linux/elsa-2023-6371.md) | Nov 11, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
