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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2015-3451 from the MITRE CVE dictionary dictionary and NIST NVD.
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/.
NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.
Base Score | 2.6 |
---|---|
Base Metrics | AV:N/AC:H/Au:N/C:P/I:N/A:N |
Access Vector | Network |
Access Complexity | High |
Authentication | None |
Confidentiality Impact | Partial |
Integrity Impact | None |
Availability Impact | None |
Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).
Platform | Package | State |
---|---|---|
Red Hat Enterprise Linux 7 | perl-XML-LibXML | Will not fix |
Red Hat Enterprise Linux 6 | perl-XML-LibXML | Will not fix |
Red Hat Enterprise Linux 5 | perl-XML-LibXML | Will not fix |
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.