Bug 1414698 (CVE-2017-2592)

Summary: CVE-2017-2592 python-oslo-middleware: CatchErrors leaks sensitive values into error logs
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aortega, apevec, apevec, ayoung, chrisw, cvsbot-xmlrpc, gchamoul, jjoyce, jschluet, kbasil, lhh, lpeer, markmc, mschuppe, rbryant, sclewis, security-response-team, sisharma, slong, tdecacqu, vstinner
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-oslo-middleware 3.8.1, python-oslo-middleware 3.19.1, python-oslo-middleware 3.23.1 Doc Type: If docs needed, set a value
Doc Text:
An information-disclosure flaw was found in oslo.middleware. Software using the CatchError class could include sensitive values in a traceback's error message. System users could exploit this flaw to obtain sensitive information from OpenStack component error logs (for example, keystone tokens).
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-22 03:27:03 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: 1415912, 1415913, 1415914, 1417592, 1417593    
Bug Blocks: 1414700    
Attachments:
Description Flags
Ocata patch
none
Newton patch
none
Mitaka patch none

Description Adam Mariš 2017-01-19 09:55:48 UTC
An information disclosure vulnerability in oslo.middleware was found. Software using the CatchError class may include sensitive values in the error message accompanying a Traceback, resulting in their disclosure. For example, complete API requests (including keystone tokens in their headers) may leak into neutron error logs.

Affected versions: <=3.8.0, >=3.9.0 <=3.19.0, >=3.20.0 <=3.22.0

Comment 1 Adam Mariš 2017-01-19 09:59:08 UTC
Acknowledgments:

Name: the OpenStack project
Upstream: Divya K Konoor (IBM)

Comment 2 Summer Long 2017-01-24 01:41:51 UTC
Created attachment 1243810 [details]
Ocata patch

Comment 3 Summer Long 2017-01-24 01:45:10 UTC
Created attachment 1243811 [details]
Newton patch

Comment 4 Summer Long 2017-01-24 01:47:11 UTC
Created attachment 1243812 [details]
Mitaka patch

Comment 6 Andrej Nemec 2017-01-30 11:33:06 UTC
Created python-oslo-middleware tracking bugs for this issue:

Affects: openstack-rdo [bug 1417592]
Affects: fedora-all [bug 1417593]

Comment 8 Andrej Nemec 2017-01-30 11:52:00 UTC
*** Bug 1417538 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2017-02-22 17:24:30 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 10.0 (Newton)

Via RHSA-2017:0300 https://rhn.redhat.com/errata/RHSA-2017-0300.html

Comment 19 errata-xmlrpc 2017-03-02 21:16:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 9.0 (Mitaka)

Via RHSA-2017:0435 https://rhn.redhat.com/errata/RHSA-2017-0435.html