Back

MEDIUM

perl-XML-LibXML: "expand_entities" option was not preserved under some circumstances

Published May 12, 2015

Description

The _clone function in XML::LibXML before 2.0119 does not properly set the expand_entities option, which allows remote attackers to conduct XML external entity (XXE) attacks via crafted XML data to the (1) new or (2) load_xml function.

Affected products

Remediation

Red Hat statement

This issue affects the versions of perl-XML-LibXML as shipped with Red Hat Enterprise Linux 5, 6 and 7. Red Hat Product Security has rated this issue as having Low security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Red Hat mitigation

This issue only affects programs using this program in forms such as: $parser = XML::LibXML->new or $XML_DOC = $parser->load_xml if you use the form: $XML_DOC = XML::LibXML->load_xml this vulnerability will not be exposed.

Metrics

Weaknesses (1)

References (16)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published May 12, 2015
Updated Aug 6, 2024
Reserved Apr 29, 2015
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Apr 23, 2015