Bug 1580924 (CVE-2017-18269)

Summary: CVE-2017-18269 glibc: memory corruption in memcpy-sse2-unaligned.S
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abhgupta, arjun.is, ashankar, codonell, dbaker, dj, fweimer, glibc-bugzilla, jokerman, law, mfabian, mnewsome, pfrankli, rth, siddhesh, slawomir, sthangav, trankin
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: 2020-05-20 21:18:30 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: 1580934, 1581365, 1582354, 1582355    
Bug Blocks: 1580945    

Description Laura Pardo 2018-05-21 21:17:45 UTC
A flaw was found in the GNU C Library (aka glibc or libc6) 2.21 through 2.27. An SSE2-optimized memmove implementation for i386 in sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S does not correctly perform the overlapping memory check if the source memory range spans the middle of the address space, resulting in corrupt data being produced by the copy operation. This may disclose information to context-dependent attackers, or result in a denial of service, or, possibly, code execution.


References:
https://github.com/fingolfin/memmove-bug
https://sourceware.org/bugzilla/show_bug.cgi?id=22644

Patch:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cd66c0e584c6d692bc8347b5e72723d02b8a8ada

Comment 1 Laura Pardo 2018-05-21 21:18:28 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 1580934]

Comment 4 Riccardo Schirone 2018-05-22 15:15:39 UTC
Statement:

This issue did not affect the versions of glibc and compat-glibc as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code.

Comment 6 Product Security DevOps Team 2020-05-20 21:18:30 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-2017-18269