CVE Vulnerabilities

CVE-2021-27022

Insertion of Sensitive Information into Log File

Published: Sep 07, 2021 | Modified: Nov 07, 2023
CVSS 3.x
4.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
LOW

A flaw was discovered in bolt-server and ace where running a task with sensitive parameters results in those sensitive parameters being logged when they should not be. This issue only affects SSH/WinRM nodes (inventory service nodes).

Weakness

Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.

Affected Software

Name Vendor Start Version End Version
Puppet Puppet 2021.0.0 (including) 2021.3.0 (excluding)
Puppet_enterprise Puppet * 2019.8.8 (excluding)
Puppet Ubuntu bionic *
Puppet Ubuntu hirsute *
Puppet Ubuntu impish *
Puppet Ubuntu kinetic *
Puppet Ubuntu trusty *
Puppet Ubuntu xenial *

Extended Description

While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for:

Potential Mitigations

References