Bug 1665334 (CVE-2018-16889)

Summary: CVE-2018-16889 ceph: debug logging for v4 auth does not sanitize encryption keys
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bmcclain, branto, dblechte, dfediuck, eedri, mgoldboi, michal.skrivanek, sbonazzo, sherold, sisharma, yturgema
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20190110,reported=20181212,source=upstream,cvss3=5.5/CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N,cwe=CWE-532,fedora-all/ceph=affected,ceph-2/ceph=notaffected,ceph-3/ceph=affected,rhel-8/ceph=notaffected,rhel-7/ceph-common=notaffected,rhev-m-4/redhat-virtualization-host=notaffected
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
It was found that Ceph RGW did not properly sanitize encryption keys in debug logging for v4 auth. Encryption keys could be inadvertently disclosed when sharing debug logs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-21 20:47:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1665335, 1669387    
Bug Blocks: 1658871    

Description Sam Fowler 2019-01-11 02:01:25 UTC
Ceph does not properly sanitize encryption keys in debug logging for v4 auth. This results in the leaking of encryption key information in log files via plaintext.


Upstream Patch:

https://github.com/ceph/ceph/pull/25881/commits


Upstream Bug:

http://tracker.ceph.com/issues/37847

Comment 1 Sam Fowler 2019-01-11 02:01:39 UTC
Created ceph tracking bugs for this issue:

Affects: fedora-all [bug 1665335]

Comment 3 errata-xmlrpc 2019-08-21 15:10:19 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 3.3

Via RHSA-2019:2538 https://access.redhat.com/errata/RHSA-2019:2538

Comment 4 errata-xmlrpc 2019-08-21 15:22:12 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 3 for Red Hat Enterprise Linux 7

Via RHSA-2019:2541 https://access.redhat.com/errata/RHSA-2019:2541

Comment 5 Product Security DevOps Team 2019-08-21 20:47:10 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-2018-16889