Debian Security Advisory
DLA-2972-1 libxml2 -- LTS security update
- Date Reported:
- 08 Apr 2022
- Affected Packages:
- Security database references:
- In Mitre's CVE dictionary: CVE-2016-9318, CVE-2017-5130, CVE-2017-5969, CVE-2017-16932, CVE-2022-23308.
- More information:
Five security issues have been discovered in libxml2: XML C parser and toolkit.
Vulnerable versions do not offer a flag directly indicating that the current document may be read but other files may not be opened, which makes it easier for remote attackers to conduct XML External Entity (XXE) attacks via a crafted document.
Integer overflow in memory debug code, allowed a remote attacker to potentially exploit heap corruption via a crafted XML file.
Parser in a recover mode allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted XML document.
When expanding a parameter entity in a DTD, infinite recursion could lead to an infinite loop or memory exhaustion.
the application that validates XML using xmlTextReaderRead() with XML_PARSE_DTDATTR and XML_PARSE_DTDVALID enabled becomes vulnerable to this use-after-free bug. This issue can result in denial of service.
For Debian 9 stretch, these problems have been fixed in version 2.9.4+dfsg1-2.2+deb9u6.
We recommend that you upgrade your libxml2 packages.
For the detailed security status of libxml2 please refer to its security tracker page at: https://security-tracker.debian.org/tracker/libxml2
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS