A flaw was found in python-oslo-utils. Due to improper parsing, passwords with a double quote ( ) in them cause incorrect masking in debug logs, causing any part of the password after the double quote to be plaintext.
Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Oslo.utils | Openstack | * | 4.10.1 (excluding) |
Oslo.utils | Openstack | 4.12.0 (including) | 4.12.0 (including) |
Red Hat OpenStack Platform 16.1 | RedHat | python-oslo-utils-0:3.41.6-1.20220426095230.f4deaad.el8ost | * |
Red Hat OpenStack Platform 16.2 | RedHat | python-oslo-utils-0:3.41.6-2.20220111011750.el8ost | * |
Python-oslo.utils | Ubuntu | bionic | * |
Python-oslo.utils | Ubuntu | esm-infra/xenial | * |
Python-oslo.utils | Ubuntu | focal | * |
Python-oslo.utils | Ubuntu | impish | * |
Python-oslo.utils | Ubuntu | trusty | * |
Python-oslo.utils | Ubuntu | upstream | * |
Python-oslo.utils | Ubuntu | xenial | * |
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: