Bug 1315647 (CVE-2016-1234)

Summary: CVE-2016-1234 glibc: Stack-based buffer overflow in glob with GLOB_ALTDIRFUNC and crafted directory
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: arjun.is, ashankar, carnil, codonell, dj, fweimer, glibc-bugzilla, jakub, jhunt, law, mfabian, mnewsome, pfrankli, sardella, siddhesh, slawomir, yozone
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glibc 2.24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-30 06:37:59 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: 1315648    
Bug Blocks: 1315649    

Description Adam Mariš 2016-03-08 10:41:33 UTC
It was found that glob implementation in glibc does not correctly handle overlong names in struct dirent buffers when GLOB_ALTDIRFUNC is used, causing large stack-based buffer overflow with controlled length and content.

Upstream bug (contains reproducer):

https://sourceware.org/bugzilla/show_bug.cgi?id=CVE-2016-1234

Comment 1 Adam Mariš 2016-03-08 10:42:04 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 1315648]

Comment 7 Stefan Cornelius 2016-08-11 10:41:34 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.