Bug 2056850 (CVE-2022-0718)

Summary: CVE-2022-0718 python-oslo-utils: incorrect password masking in debug output
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: apevec, apevec, bmontgom, dbecker, eparis, gchamoul, hberaud, jburrell, jjoyce, jokerman, jschluet, lhh, lpeer, mburns, nstielau, openstack-sig, sclewis, slinaber, sponnaga, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-24 01:45:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2018489, 2056851, 2056912, 2059546, 2059559, 2062029, 2078004    
Bug Blocks: 2056852, 2056856    

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