Bug 1251621 (CVE-2015-5186)

Summary: CVE-2015-5186 Audit: log terminal emulator escape sequences handling
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, alonbl, bmcclain, carnil, dblechte, ecohen, fdeutsch, huzaifas, idith, jrusnack, lsurette, michal.skrivanek, pstehlik, security-response-team, sgrubb, ycui, yeylon
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-12 13:04:00 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: 1400791    
Bug Blocks: 1251622, 1386080    
Attachments:
Description Flags
Patch fixing unescaped control characters none

Description Kurt Seifried 2015-08-07 23:54:44 UTC
Steve Grubb of Red Hat reports:

When auditing the filesystem the names of files are logged. These filenames 
can contain escape sequences, when viewed using the ausearch programs "-i" 
option for example this can result in the escape sequences being processed 
unsafely by the terminal program being used to view the data.

Comment 1 Steve Grubb 2015-08-10 23:39:56 UTC
Created attachment 1061284 [details]
Patch fixing unescaped control characters

This patch will be applied upstream. Please share with other distributions. The older the audit package, the more likely they will have problems back porting.

Comment 2 Kurt Seifried 2015-08-13 20:58:44 UTC
This has been corrected upstream with the following commit:

https://fedorahosted.org/audit/changeset/1122

Comment 4 Kurt Seifried 2015-08-26 14:35:00 UTC
Acknowledgement:

This issue was discovered by Steve Grubb of Red Hat.

Comment 9 Product Security DevOps Team 2019-07-12 13:04:00 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-2015-5186