Bug 1581269 (CVE-2018-11236)

Summary: CVE-2018-11236 glibc: Integer overflow in stdlib/canonicalize.c on 32-bit architectures leading to stack-based buffer overflow
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, alanm, aoliva, arjun.is, ashankar, codonell, dbaker, dj, fweimer, glibc-bugzilla, jokerman, law, mfabian, mnewsome, pfrankli, rth, siddhesh, sthangav, trankin, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glibc 2.28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:26:11 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: 1579742, 1581270, 1581271, 1581881, 1581882, 1582343, 1582344, 1849766    
Bug Blocks: 1581279    

Description Andrej Nemec 2018-05-22 12:49:42 UTC
stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpath function, could encounter an integer overflow on 32-bit architectures, leading to a stack-based buffer overflow and, potentially, arbitrary code execution.

Upstream issue:

https://sourceware.org/bugzilla/show_bug.cgi?id=22786

Upstream patch:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5460617d1567657621107d895ee2dd83bc1f88f2

Product bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1579742

Comment 1 Andrej Nemec 2018-05-22 12:50:29 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 1581270]

Comment 9 errata-xmlrpc 2018-10-30 07:36:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3092 https://access.redhat.com/errata/RHSA-2018:3092

Comment 10 Marian Rehak 2019-06-14 10:17:56 UTC
Statement:

Red Hat Product Security has rated this issue as having moderate security impact and a future update may address this flaw.