Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting libxml2 package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.6% (80th 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 IDSNYK-CENTOS7-LIBXML2-1980273
  • published26 Jul 2021
  • disclosed5 Jun 2017

Introduced: 5 Jun 2017

CVE-2017-16931  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 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:7 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.