CVE-2022-2084
sensitive data exposure in cloud-init logs
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.5
sensitive data exposure in cloud-init logs
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
CVE-2022-2084- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532, CWE-532
- Updated
- 2026-11-02
EUVDEUVD-2022-34374
5.5
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
EUVD-2022-34374- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w62x-qh57-5m94
5.5
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when...
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
GHSA-w62x-qh57-5m94- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-02
NVD
5.5
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
CVE-2022-2084- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-2084
5.5
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
ALPINE-CVE-2022-2084- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSVBELL-CVE-2022-2084
5.5
CVE-2022-2084 does not affect BellSoft software
- Record
BELL-CVE-2022-2084- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 9 moreShow less
OSV
5.5
sensitive data exposure in cloud-init logs
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
CVE-2022-2084- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-2084
5.5
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
DEBIAN-CVE-2022-2084- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSVOESA-2023-1290
5.5
cloud-init security update
Cloud-init is the defacto multi-distribution package that handles early initialization of a cloud instance.
Security Fix(es):
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.(CVE-2022-2084)
- Record
OESA-2023-1290- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-2084
5.5
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.
- Record
UBUNTU-CVE-2022-2084- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVCLSA-2026-1782809708 No score
cloud-init: Fix of CVE-2022-2084
- CVE-2022-2084: remove schema errors from log to avoid leaking sensitive user-data values into world-readable /var/log/cloud-init.log
- Record
CLSA-2026-1782809708- Updated
- 2026-11-02
OSVCLSA-2026-1791533950 No score
cloud-init: Fix of 4 CVEs
- CVE-2024-6174: fix platform enumeration by changing default policy of ds-identify to disallow discovery of datasources without strict identifiable
- CVE-2024-11584: fix systemd socket unit permission vulnerability to prevent unprivileged user from triggering hotplug-hook commands
- CVE-2023-1786: fix leak of sensitive user/vendor data and enforce 640 perms on cloud-init.log
- CVE-2022-2084: remove schema errors from log to avoid leaking sensitive user-data values into world-readable /var/log/cloud-init.log
- rebuild with the vendor .el9_2 dist so the update outranks AlmaLinux 22.1-10.el9_2.alma
- Record
CLSA-2026-1791533950- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12738-1 No score
cloud-init-23.1-1.1 on GA media
These are all security issues fixed in the cloud-init-23.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12738-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:2628-1 No score
Security update for cloud-init
This update for cloud-init fixes the following issues:
-
CVE-2023-1786: Do not expose sensitive data gathered from the CSP. (bsc#1210277)
-
CVE-2022-2084: Fixed a bug which caused logging schema failures can include password hashes. (bsc#1210652)
-
Update to version 23.1
- Support transactional-updates for SUSE based distros
- Set ownership for new folders in Write Files Module
- add OpenCloudOS and TencentOS support
- lxd: Retry if the server isn't ready
- test: switch pycloudlib source to pypi
- test: Fix integration test deprecation message
- Recognize opensuse-microos, dev tooling fixes
- sources/azure: refactor imds handler into own module
- docs: deprecation generation support
- add function is_virtual to distro/FreeBSD
- cc_ssh: support multiple hostcertificates
- Fix minor schema validation regression and fixup typing
- doc: Reword user data debug section
- cli: schema also validate vendordata*.
- ci: sort and add checks for cla signers file
- Add 'ederst' as contributor
- readme: add reference to packages dir
- docs: update downstream package list
- docs: add google search verification
- docs: fix 404 render use default notfound_urls_prefix in RTD conf
- Fix OpenStack datasource detection on bare metal
- docs: add themed RTD 404 page and pointer to readthedocs-hosted
- schema: fix gpt labels, use type string for GUID
- cc_disk_setup: code cleanup
- netplan: keep custom strict perms when 50-cloud-init.yaml exists
- cloud-id: better handling of change in datasource files
- Warn on empty network key
- Fix Vultr cloud_interfaces usage
- cc_puppet: Update puppet service name
- docs: Clarify networking docs
- lint: remove httpretty
- cc_set_passwords: Prevent traceback when restarting ssh
- tests: fix lp1912844
- tests: Skip ansible test on bionic
- Wait for NetworkManager
- docs: minor polishing
- CI: migrate integration-test to GH actions
- Fix permission of SSH host keys
- Fix default route rendering on v2 ipv6
- doc: fix path in net_convert command
- docs: update net_convert docs
- doc: fix dead link
- cc_set_hostname: ignore /var/lib/cloud/data/set-hostname if it's empty
- distros/rhel.py: _read_hostname() missing strip on 'hostname'
- integration tests: add IBM VPC support
- machine-id: set to uninitialized to trigger regeneration on clones
- sources/azure: retry on connection error when fetching metdata
- Ensure ssh state accurately obtained
- bddeb: drop dh-systemd dependency on newer deb-based releases
- doc: fix
config formatslink in cloudsigma.rst - Fix wrong subp syntax in cc_set_passwords.py
- docs: update the PR template link to readthedocs
- ci: switch unittests to gh actions
- Add mount_default_fields for PhotonOS.
- sources/azure: minor refactor for metadata source detection logic
- add 'CalvoM' as contributor
- ci: doc to gh actions
- lxd: handle 404 from missing devices route for LXD 4.0
- docs: Diataxis overhaul
- vultr: Fix issue regarding cache and region codes
- cc_set_passwords: Move ssh status checking later
- Improve Wireguard module idempotency
- network/netplan: add gateways as on-link when necessary
- tests: test_lxd assert features.networks.zones when present
- Use btrfs enquque when available (#1926) [Robert Schweikert]
- sources/azure: fix device driver matching for net config (#1914)
- BSD: fix duplicate macs in Ifconfig parser
- pycloudlib: add lunar support for integration tests
- nocloud: add support for dmi variable expansion for seedfrom URL
- tools: read-version drop extra call to git describe --long
- doc: improve cc_write_files doc
- read-version: When insufficient tags, use cloudinit.version.get_version
- mounts: document weird prefix in schema
- Ensure network ready before cloud-init service runs on RHEL
- docs: add copy button to code blocks
- netplan: define…
- Record
SUSE-SU-2023:2628-1- Updated
- 2026-11-02
OSVUSN-5496-1 No score
cloud-init vulnerability
Mike Stroyan discovered that cloud-init could log password hashes when reporting schema failures. An attacker with access to these logs could potentially use this to gain user credentials.
- Record
USN-5496-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cloud-initAlpine:v3.16 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.17 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.18 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.19 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.20 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.21 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.22 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.23 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initAlpine:v3.24 |
before 22.2.2-r0 | 22.2.2-r0 |
cloud-initTuxCare:AlmaLinux:9.2 |
before 22.1-10.el9.alma.tuxcare.els4 | 22.1-10.el9.alma.tuxcare.els4 |
Show 19 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cloud-initTuxCare:AlmaLinux:9.2 From an advisory covering 4 CVEs |
before 22.1-10.el9_2.alma.tuxcare.els5 | 22.1-10.el9_2.alma.tuxcare.els5 |
cloud-initDebian:12 |
before 22.2-2 | 22.2-2 |
cloud-initDebian:13 |
before 22.2-2 | 22.2-2 |
cloud-initDebian:14 |
before 22.2-2 | 22.2-2 |
cloud-initopenEuler:20.03-LTS-SP1 |
before 19.4-10.oe1 | 19.4-10.oe1 |
cloud-initopenEuler:20.03-LTS-SP3 |
before 19.4-12.oe1 | 19.4-12.oe1 |
cloud-initopenEuler:22.03-LTS |
before 21.4-14.oe2203sp1 | 21.4-14.oe2203sp1 |
cloud-initopenEuler:22.03-LTS-SP1 |
before 21.4-14.oe2203sp1 | 21.4-14.oe2203sp1 |
cloud-initSUSE:Linux Enterprise Module for Public Cloud 15 SP1 From an advisory covering 2 CVEs |
before 23.1-150100.8.63.5 | 23.1-150100.8.63.5 |
cloud-initSUSE:Linux Enterprise Module for Public Cloud 15 SP2 From an advisory covering 2 CVEs |
before 23.1-150100.8.63.5 | 23.1-150100.8.63.5 |
cloud-initSUSE:Linux Enterprise Module for Public Cloud 15 SP3 From an advisory covering 2 CVEs |
before 23.1-150100.8.63.5 | 23.1-150100.8.63.5 |
cloud-initSUSE:Linux Enterprise Module for Public Cloud 15 SP4 From an advisory covering 2 CVEs |
before 23.1-150100.8.63.5 | 23.1-150100.8.63.5 |
cloud-initSUSE:Linux Enterprise Module for Public Cloud 15 SP5 From an advisory covering 2 CVEs |
before 23.1-150100.8.63.5 | 23.1-150100.8.63.5 |
cloud-initopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 23.1-150100.8.63.5 | 23.1-150100.8.63.5 |
cloud-initopenSUSE:Leap 15.5 From an advisory covering 2 CVEs |
before 23.1-150100.8.63.5 | 23.1-150100.8.63.5 |
cloud-initUbuntu:18.04:LTS |
before 22.2-0ubuntu1~18.04.3, plus listed versions 17.1-18-gd4f70470-0ubuntu117.1-25-g17a15f9e-0ubuntu1~17.10.117.1-25-g17a15f9e-0ubuntu117.1-27-geb292c18-0ubuntu117.1-41-g76243487-0ubuntu1 Show 45 moreShow less17.1-46-g7acc9e68-0ubuntu117.1-51-g05b2308a-0ubuntu117.1-53-ga5dc0f42-0ubuntu117.1-58-g703241a3-0ubuntu117.1-60-ga30a3bb5-0ubuntu117.2-1-g4089e20c-0ubuntu117.2-9-gdf24daa8-0ubuntu117.2-13-g6299e8d0-0ubuntu117.2-20-g32a6a176-0ubuntu117.2-25-gc03bdd3d-0ubuntu117.2-30-gf7deaf15-0ubuntu117.2-34-g644048e3-0ubuntu118.1-0ubuntu118.1-5-g40e77380-0ubuntu118.1-17-g97012fbb-0ubuntu118.1-23-gde34dc7c-0ubuntu118.1-26-g685f9901-0ubuntu118.1-35-ge0f644b7-0ubuntu118.1-35-ge0f644b7-0ubuntu218.2-0ubuntu118.2-4-g05926e48-0ubuntu118.2-4-g05926e48-0ubuntu218.2-9-g49b562c9-0ubuntu118.2-14-g6d48d265-0ubuntu118.2-27-g6ef92c98-0ubuntu1~18.04.118.3-9-g2e62cb8a-0ubuntu1~18.04.218.4-0ubuntu1~18.04.118.5-21-g8ee294d5-0ubuntu1~18.04.118.5-45-g3554ffe8-0ubuntu1~18.04.119.1-1-gbaa47854-0ubuntu1~18.04.119.2-24-ge7881d5c-0ubuntu1~18.04.119.2-36-g059d049c-0ubuntu1~18.04.119.2-36-g059d049c-0ubuntu2~18.04.119.3-41-gc4735dd3-0ubuntu1~18.04.119.4-33-gbb4131a2-0ubuntu1~18.04.120.2-45-g5f7825e2-0ubuntu1~18.04.120.3-2-g371b392c-0ubuntu1~18.04.120.4-0ubuntu1~18.04.120.4-0ubuntu1~18.04.220.4.1-0ubuntu1~18.04.121.1-19-gbad84ad4-0ubuntu1~18.04.121.1-19-gbad84ad4-0ubuntu1~18.04.221.2-3-g899bfaa9-0ubuntu2~18.04.121.3-1-g6803368d-0ubuntu1~18.04.321.3-1-g6803368d-0ubuntu1~18.04.4 |
22.2-0ubuntu1~18.04.3 |
cloud-initUbuntu:20.04:LTS |
before 22.2-0ubuntu1~20.04.3, plus listed versions 19.2-36-g059d049c-0ubuntu319.2-78-ge8138959-0ubuntu119.3-0ubuntu119.3-23-gfb04493e-0ubuntu119.3-30-g4bc399e0-0ubuntu1 Show 30 moreShow less19.3-40-gf69d33a7-0ubuntu119.3-41-gc4735dd3-0ubuntu119.3-74-g129b1c4e-0ubuntu119.4-1-g8c96cbc1-0ubuntu119.4-16-gf8950d63-0ubuntu119.4-31-g3f6192b3-0ubuntu119.4-33-gbb4131a2-0ubuntu119.4-56-g06e324ff-0ubuntu120.1-0ubuntu120.1-5-g67c8e53c-0ubuntu120.1-9-g1f860e5a-0ubuntu120.1-10-g71af48df-0ubuntu120.1-10-g71af48df-0ubuntu220.1-10-g71af48df-0ubuntu320.1-10-g71af48df-0ubuntu520.2-45-g5f7825e2-0ubuntu1~20.04.120.3-2-g371b392c-0ubuntu1~20.04.120.4-0ubuntu1~20.04.120.4-0ubuntu1~20.04.220.4.1-0ubuntu1~20.04.121.1-19-gbad84ad4-0ubuntu1~20.04.121.1-19-gbad84ad4-0ubuntu1~20.04.221.2-3-g899bfaa9-0ubuntu2~20.04.121.3-1-g6803368d-0ubuntu1~20.04.321.3-1-g6803368d-0ubuntu1~20.04.421.4-0ubuntu1~20.04.122.1-14-g2e17a0d6-0ubuntu1~20.04.222.1-14-g2e17a0d6-0ubuntu1~20.04.322.2-0ubuntu1~20.04.122.2-0ubuntu1~20.04.2 |
22.2-0ubuntu1~20.04.3 |
cloud-initUbuntu:22.04:LTS |
before 22.2-0ubuntu1~22.04.3, plus listed versions 21.3-1-g6803368d-0ubuntu321.4-0ubuntu1~22.04.121.4-25-g039c40f9-0ubuntu1~22.04.121.4-119-gdeb3ae82-0ubuntu1~22.04.121.4-119-gdeb3ae82-0ubuntu1~22.04.2 Show 8 moreShow less22.1-1-gb3d9acdd-0ubuntu1~22.04.122.1-14-g2e17a0d6-0ubuntu1~22.04.122.1-14-g2e17a0d6-0ubuntu1~22.04.222.1-14-g2e17a0d6-0ubuntu1~22.04.322.1-14-g2e17a0d6-0ubuntu1~22.04.422.1-14-g2e17a0d6-0ubuntu1~22.04.522.2-0ubuntu1~22.04.122.2-0ubuntu1~22.04.2 |
22.2-0ubuntu1~22.04.3 |
cloud-initopenSUSE:Tumbleweed |
before 23.1-1.1 | 23.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-2084 is a medium vulnerability (CVSS 5.5) in Canonical Cloud-init, published June 29, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.24%, the 14th percentile. Fixed in cloud-init 22.2.2-r0.
References
github.com/canonical/cloud-init/commit/4d467b14363d800b2185b89790d57871f11ea88c
ubuntu.com/security/notices/USN-5496-1
nvd.nist.gov/vuln/detail/CVE-2022-2084
github.com/advisories/GHSA-w62x-qh57-5m94
security.alpinelinux.org/vuln/CVE-2022-2084
docs.bell-sw.com/security/cves/CVE-2022-2084
Show 16 moreShow less
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1782809708.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1791533950.html
github.com/canonical/cloud-init
github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2084.json
github.com/canonical/cloud-init/releases
security-tracker.debian.org/tracker/CVE-2022-2084
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1290
suse.com/support/update/announcement/2023/suse-su-20232628-1
bugzilla.suse.com/1171511
bugzilla.suse.com/1203393
bugzilla.suse.com/1210277
bugzilla.suse.com/1210652
suse.com/security/cve/CVE-2022-2084
suse.com/security/cve/CVE-2023-1786
ubuntu.com/security/CVE-2022-2084
cve.org/CVERecord?id=CVE-2022-2084
Left out here: 5 versions and the rest of 1 source description. The JSON record has them.