Information Exposure Through Log Files Affecting cloud-init package, versions <0:20.3-10.el8_4.5


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.22% (13th 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 IDSNYK-RHEL8-CLOUDINIT-4071985
  • published26 Jul 2021
  • disclosed23 Mar 2021

Introduced: 23 Mar 2021

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

How to fix?

Upgrade RHEL:8 cloud-init to version 0:20.3-10.el8_4.5 or higher.
This issue was patched in RHSA-2021:3081.

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 RHEL. See How to fix? for RHEL:8 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 Base Scores

version 3.1