Bug 1452556 (CVE-2017-9049)

Summary: CVE-2017-9049 libxml2: Heap-based buffer over-read in function xmlDictComputeFastKey
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: athmanem, c.david86, csutherl, dmoppert, erik-fedora, fedora-mingw, gzaronik, jclere, ktietz, lgao, mbabacek, mturk, myarboro, ohudlick, rh-spice-bugs, rjones, sardella, slawomir, twalsh, veillard, weli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libxml2 2.9.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-26 05:11:06 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: 1452550, 1452551, 1548945, 1695414    
Bug Blocks: 1452558    

Description Andrej Nemec 2017-05-19 08:01:41 UTC
libxml2 is vulnerable to a heap-based buffer over-read in the xmlDictComputeFastKey function in dict.c. This vulnerability causes programs that use libxml2 to crash. This vulnerability exists because of an incomplete fix for libxml2 Bug 759398.

References:

http://seclists.org/oss-sec/2017/q2/258

Comment 1 Andrej Nemec 2017-05-19 08:05:31 UTC
Created libxml2 tracking bugs for this issue:

Affects: fedora-all [bug 1452550]

Comment 2 Andrej Nemec 2017-05-19 08:05:40 UTC
Created mingw-libxml2 tracking bugs for this issue:

Affects: fedora-all [bug 1452551]

Comment 3 Doran Moppert 2017-05-23 02:36:02 UTC
oss-security report suggests this is the same as CVE-2017-9050, as exactly the same patch is proposed and the stack trace passes through the same function chain.

Comment 7 Doran Moppert 2019-04-03 02:55:26 UTC
Upstream patch:

https://gitlab.gnome.org/GNOME/libxml2/commit/45752d2c3