Bug 1470204 (CVE-2017-10672)

Summary: CVE-2017-10672 perl-XML-LibXML: Use-after-free by controlling the arguments to a replaceChild call
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: carnil, jplesnik, perl-devel, perl-maint-list, ppisar, psabata
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-27 08:39:21 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: 1470205    
Bug Blocks: 1470206    

Description Andrej Nemec 2017-07-12 14:06:55 UTC
Use-after-free in the XML-LibXML module through 2.0129 for Perl allows attackers to execute arbitrary code by controlling the arguments to a replaceChild call.

Upstream issue:

https://rt.cpan.org/Public/Bug/Display.html?id=122246

Comment 1 Andrej Nemec 2017-07-12 14:07:18 UTC
Created perl-XML-LibXML tracking bugs for this issue:

Affects: fedora-all [bug 1470205]

Comment 2 Petr Pisar 2017-07-17 11:29:14 UTC
Upstream provided a patch that simply short-circuits the case of replacing a child node with the same node to no-operation.

Comment 3 Petr Pisar 2017-07-17 11:37:41 UTC
There is an alternative fix provided by the reporter <https://github.com/shlomif/perl-XML-LibXML/pull/8>.

Comment 5 Stefan Cornelius 2017-07-27 08:39:30 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.