Bug 2056850 (CVE-2022-0718) - CVE-2022-0718 python-oslo-utils: incorrect password masking in debug output
Summary: CVE-2022-0718 python-oslo-utils: incorrect password masking in debug output
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0718
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2062029 2018489 2056851 2056912 2059546 2059559 2078004
Blocks: 2056852 2056856
TreeView+ depends on / blocked
 
Reported: 2022-02-22 08:13 UTC by Marian Rehak
Modified: 2023-09-13 09:33 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2022-03-24 01:45:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0993 0 None None None 2022-03-23 22:29:16 UTC
Red Hat Product Errata RHSA-2022:8873 0 None None None 2022-12-07 20:27:34 UTC

Description Marian Rehak 2022-02-22 08:13:31 UTC
mask_passwords doesn't mask characters following a " so if a user has a password containing a " in the middle such as pass"word , we would see ***"word in the debug output.

Comment 1 Marian Rehak 2022-02-22 08:13:50 UTC
Created python-oslo-utils tracking bugs for this issue:

Affects: fedora-all [bug 2056851]

Comment 13 Anten Skrabec 2022-03-08 23:20:50 UTC
Created python-oslo-utils tracking bugs for this issue:

Affects: openstack-rdo [bug 2062029]

Comment 15 errata-xmlrpc 2022-03-23 22:29:13 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.2

Via RHSA-2022:0993 https://access.redhat.com/errata/RHSA-2022:0993

Comment 16 Product Security DevOps Team 2022-03-24 01:45:39 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-0718

Comment 18 errata-xmlrpc 2022-12-07 20:27:32 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.1

Via RHSA-2022:8873 https://access.redhat.com/errata/RHSA-2022:8873


Note You need to log in before you can comment on or make changes to this bug.