Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting libxml2 package, versions *
Threat Intelligence
EPSS
0.6% (79th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS6-LIBXML2-1982994
- published 26 Jul 2021
- disclosed 5 Jun 2017
Introduced: 5 Jun 2017
CVE-2017-16931 Open this link in a new tabHow to fix?
There is no fixed version for Centos:6 libxml2.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libxml2 package and not the libxml2 package as distributed by Centos.
See How to fix? for Centos:6 relevant fixed versions and status.
parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference function in the case of a '%' character in a DTD name.
References
- https://bugzilla.gnome.org/show_bug.cgi?id=766956
- https://github.com/GNOME/libxml2/commit/e26630548e7d138d2c560844c43820b6767251e3
- http://xmlsoft.org/news.html
- https://access.redhat.com/security/cve/CVE-2017-16931
- https://lists.debian.org/debian-lts-announce/2017/11/msg00041.html
- https://www.oracle.com//security-alerts/cpujul2021.html