Bug 1276332 (CVE-2015-8789)

Summary: CVE-2015-8789 libebml: Use-after-free vulnerability in EblMaster::Read()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anemec, dmitry, dominik, hdegoede, itamar, kwizart, martin.sourada
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libebml 1.3.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-28 21:12:35 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: 1276336, 1276337    
Bug Blocks:    

Description Adam Mariš 2015-10-29 13:32:20 UTC
When the parser encountered a deeply nested element with an infinite size then a following element of an upper level was not propagated correctly. Instead the element with the infinite size was added into the EBML element tree a second time resulting in memory access after freeing it and multiple attempts to free the same memory address during destruction.

Upstream patch:

https://github.com/Matroska-Org/libebml/commit/88409e2a94dd3b40ff81d08bf6d92f486d036b24

Comment 1 Adam Mariš 2015-10-29 13:38:21 UTC
Created libebml tracking bugs for this issue:

Affects: fedora-all [bug 1276336]
Affects: epel-all [bug 1276337]

Comment 2 Andrej Nemec 2016-02-01 08:35:49 UTC
Added CVE according to http://www.cvedetails.com/cve/CVE-2015-8789/

Comment 3 Dominik 'Rathann' Mierzejewski 2017-01-13 10:13:56 UTC
*** Bug 1412632 has been marked as a duplicate of this bug. ***