Information Exposure Through Log Files Affecting cloud-init package, versions <20.4.1-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure Through Log Files vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-CLOUDINIT-1543738
  • published20 Mar 2021
  • disclosed19 Apr 2023

Introduced: 20 Mar 2021

CVE-2021-3429  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade Debian:12 cloud-init to version 20.4.1-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cloud-init package and not the cloud-init package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.

CVSS Scores

version 3.1