Bug 1679175 (CVE-2019-8906)

Summary: CVE-2019-8906 file: out-of-bounds read in do_core_note in readelf.c
Product: [Other] Security Response Reporter: msiddiqu
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, dbaker, hhorak, jorton, kdudka, rcollet, sthangav, trankin
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: file 5.36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-27 03:25: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: 1679176, 1811771    
Bug Blocks: 1679141    

Description msiddiqu 2019-02-20 14:21:40 UTC
do_core_note in readelf.c in libmagic in file 5.35 has an out-of-bounds read because memcpy is misused.

Upstream commit:
https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f

Comment 1 msiddiqu 2019-02-20 14:21:54 UTC
Created file tracking bugs for this issue:

Affects: fedora-all [bug 1679176]

Comment 2 msiddiqu 2019-02-20 14:24:51 UTC
References:
https://bugs.astron.com/view.php?id=64