Bug 1462729 (CVE-2017-9233)

Summary: CVE-2017-9233 expat: Inifinite loop due to invalid XML in external entity
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: besser82, bmaxwell, bmcclain, caillon, cdewolf, cfergeau, chazlett, cschalle, csutherl, darran.lofthouse, dblechte, dimitris, dosoudil, eedri, erik-fedora, fgavrilo, gecko-bugs-nobody, gzaronik, jawilson, jclere, jdoyle, jhorak, jondruse, jorton, jshepherd, lgao, lsurette, lupinix.fedora, mbabacek, mgoldboi, michal.skrivanek, mizdebsk, myarboro, pgier, pjurak, ppalaga, psakar, pslavice, rh-spice-bugs, rjones, rnetuka, rstancel, rsvoboda, sardella, slawomir, srevivo, stransky, twalsh, vtunka, weli, ykaul
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: expat 2.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:15: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: 1462731, 1462732, 1462733, 1462734, 1462735    
Bug Blocks: 1462763    

Description Adam Mariš 2017-06-19 12:37:58 UTC
An infinite loop vulnerability due to malformed XML in external entity was found in entityValueInitProcessor function affecting versions of Expat 2.2.0 and earlier.

Upstream patch:

https://github.com/libexpat/libexpat/commit/c4bf96bb51dd2a1b0e185374362ee136fe2c9d7f

External References:

https://libexpat.github.io/doc/cve-2017-9233/

Comment 1 Adam Mariš 2017-06-19 12:39:36 UTC
Created compat-expat1 tracking bugs for this issue:

Affects: fedora-all [bug 1462732]


Created expat tracking bugs for this issue:

Affects: fedora-all [bug 1462735]


Created expat21 tracking bugs for this issue:

Affects: epel-all [bug 1462734]


Created mingw-expat tracking bugs for this issue:

Affects: epel-7 [bug 1462731]
Affects: fedora-all [bug 1462733]

Comment 2 Huzaifa S. Sidhpurwala 2017-08-04 04:25:12 UTC
Mitigation:

Do not parse untrusted arbitrary XML data using the expat package.