Bug 1522828 (CVE-2017-1000408)

Summary: CVE-2017-1000408 glibc: Memory leak reachable via LD_HWCAP_MASK
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aoliva, arjun.is, ashankar, codonell, dj, fweimer, glibc-bugzilla, law, mfabian, mnewsome, pfrankli, rth, security-response-team, siddhesh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 12:41:27 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: 1524867    
Bug Blocks: 1522835    

Description Andrej Nemec 2017-12-06 14:21:00 UTC
It was found that a memory leak can be reached and amplified through the LD_HWCAP_MASK environment variable. It's not exploitable if the glibc is patched against CVE-2017-1000366, because this patch ignores the LD_HWCAP_MASK and LD_LIBRARY_PATH environment variables when SUID binaries are executed

Introducing commit:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=ab7eb292307152e706948a7b19164ff5e6d593d4

Comment 1 Andrej Nemec 2017-12-06 14:21:05 UTC
Acknowledgments:

Name: Qualys Research Labs

Comment 2 Andrej Nemec 2017-12-12 09:23:07 UTC
Public via:

http://seclists.org/oss-sec/2017/q4/385

Comment 3 Andrej Nemec 2017-12-12 09:24:44 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 1524867]

Comment 4 Raphael Sanchez Prudencio 2017-12-12 13:10:19 UTC
Statement:

This issue did not affect the versions of glibc as shipped with Red Hat Enterprise Linux 5, 6 and 7 after CVE-2017-1000366 fix:

https://access.redhat.com/security/cve/cve-2017-1000366