CVE Vulnerabilities

CVE-2021-22184

Insertion of Sensitive Information into Log File

Published: Mar 26, 2021 | Modified: Jul 12, 2022
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

An information disclosure issue in GitLab starting from version 12.8 allowed a user with access to the server logs to see sensitive information that wasnt properly redacted.

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
Gitlab Gitlab 12.8.0 (including) 13.6.6 (excluding)
Gitlab Gitlab 13.7.0 (including) 13.7.6 (excluding)
Gitlab Gitlab 13.8.0 (including) 13.8.2 (excluding)

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