Bug 1581274 (CVE-2018-11237) - CVE-2018-11237 glibc: Buffer overflow in __mempcpy_avx512_no_vzeroupper
Summary: CVE-2018-11237 glibc: Buffer overflow in __mempcpy_avx512_no_vzeroupper
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-11237
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1579809 1581275 1581276 1582349 1582350 1849767
Blocks: 1581278
TreeView+ depends on / blocked
 
Reported: 2018-05-22 12:53 UTC by Andrej Nemec
Modified: 2024-03-25 15:04 UTC (History)
20 users (show)

Fixed In Version: glibc 2.28
Doc Type: If docs needed, set a value
Doc Text:
A buffer overflow has been discovered in the GNU C Library (aka glibc or libc6) in the __mempcpy_avx512_no_vzeroupper function when particular conditions are met. An attacker could use this vulnerability to cause a denial of service or potentially execute code.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:26:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3092 0 None None None 2018-10-30 07:36:32 UTC

Description Andrej Nemec 2018-05-22 12:53:11 UTC
An AVX-512-optimized implementation of the mempcpy function in the GNU C Library (aka glibc or libc6) 2.27 and earlier may write data beyond the target buffer, leading to a buffer overflow in __mempcpy_avx512_no_vzeroupper.

Upstream issue:

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

Product bug:

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

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

Affects: fedora-all [bug 1581275]

Comment 5 Riccardo Schirone 2018-05-24 08:25:23 UTC
The vulnerable code can be reached only in particular configurations and in particular cases. First, mempcpy has to be resolved to __mempcpy_avx512_no_vzeroupper, thus the CPU needs to support AVX512 instructions. Moreover, the size to be copied has to be greater than a dynamic value internal to glibc and other conditions need to apply.

For these reasons, I'm setting Attack Complexity to High (AC:H).

Comment 9 errata-xmlrpc 2018-10-30 07:36:24 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


Note You need to log in before you can comment on or make changes to this bug.