- -------------------------------------------------------------------------
Debian LTS Advisory DLA-2972-1                [email protected]
https://www.debian.org/lts/security/                         Anton Gladky
April 08, 2022                                https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : libxml2
Version        : 2.9.4+dfsg1-2.2+deb9u6
CVE ID         : CVE-2016-9318 CVE-2017-5130 CVE-2017-5969 CVE-2017-16932
                 CVE-2022-23308

Five security issues have been discovered in libxml2: XML C parser and toolkit.

CVE-2016-9318

    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.


CVE-2017-5130

    Integer overflow in memory debug code, allowed a remote attacker to
    potentially exploit heap corruption via a crafted XML file.


CVE-2017-5969

    Parser in a recover mode allows remote attackers to cause a denial of service
    (NULL pointer dereference) via a crafted XML document.


CVE-2017-16932

    When expanding a parameter entity in a DTD, infinite recursion could lead to
    an infinite loop or memory exhaustion.


CVE-2022-23308

    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