Bug 1462203 (CVE-2017-7375)

Summary: CVE-2017-7375 libxml2: Missing validation for external entities in xmlParsePEReference
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: athmanem, bmcclain, c.david86, cfergeau, csutherl, dmoppert, eedri, erik-fedora, fedora-mingw, gzaronik, jclere, lgao, lsurette, mbabacek, mgoldboi, michal.skrivanek, mturk, myarboro, ohudlick, rh-spice-bugs, rjones, sardella, sonu.khan, srevivo, twalsh, veillard, weli, ykaul
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libxml2 2.9.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-27 10:53:10 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: 1462226, 1462227, 1462228, 1525811, 1695415    
Bug Blocks: 1462234, 1658297    

Description Adam Mariš 2017-06-16 12:19:18 UTC
Missing validation for external entities was found in xmlParsePEReference that can lead to XXE attack.

Upstream bug (private at the moment):

https://bugzilla.gnome.org/show_bug.cgi?id=780691

Android patch:

https://android.googlesource.com/platform/external/libxml2/+/308396a55280f69ad4112d4f9892f4cbeff042aa

References:

https://source.android.com/security/bulletin/2017-06-01#libraries

Comment 1 Adam Mariš 2017-06-16 12:48:43 UTC
Created libxml2 tracking bugs for this issue:

Affects: fedora-all [bug 1462226]


Created mingw-libxml2 tracking bugs for this issue:

Affects: epel-7 [bug 1462227]
Affects: fedora-all [bug 1462228]

Comment 5 Doran Moppert 2019-01-21 00:45:14 UTC
Upstream patch:

https://gitlab.gnome.org/GNOME/libxml2/commit/90ccb582

Comment 7 Sonu Khan 2020-01-13 10:45:04 UTC
Is there any steps to reproduce this vulnerability or to test the upstream patch?