Debian DLA-2972-1 : libxml2 - LTS security update

high Nessus Plugin ID 159615

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2972 advisory.

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

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libxml2 packages.

For Debian 9 stretch, these problems have been fixed in version 2.9.4+dfsg1-2.2+deb9u6.

See Also

https://security-tracker.debian.org/tracker/source-package/libxml2

https://www.debian.org/lts/security/2022/dla-2972

https://security-tracker.debian.org/tracker/CVE-2016-9318

https://security-tracker.debian.org/tracker/CVE-2017-16932

https://security-tracker.debian.org/tracker/CVE-2017-5130

https://security-tracker.debian.org/tracker/CVE-2017-5969

https://security-tracker.debian.org/tracker/CVE-2022-23308

https://packages.debian.org/source/stretch/libxml2

Plugin Details

Severity: High

ID: 159615

File Name: debian_DLA-2972.nasl

Version: 1.4

Type: local

Agent: unix

Published: 4/9/2022

Updated: 1/24/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-5130

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:python3-libxml2-dbg, p-cpe:/a:debian:debian_linux:python3-libxml2, p-cpe:/a:debian:debian_linux:libxml2-utils, p-cpe:/a:debian:debian_linux:libxml2-dbg, p-cpe:/a:debian:debian_linux:libxml2-utils-dbg, p-cpe:/a:debian:debian_linux:libxml2-dev, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:libxml2, p-cpe:/a:debian:debian_linux:python-libxml2, p-cpe:/a:debian:debian_linux:libxml2-doc, p-cpe:/a:debian:debian_linux:python-libxml2-dbg

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/8/2022

Vulnerability Publication Date: 11/15/2016

Reference Information

CVE: CVE-2016-9318, CVE-2017-16932, CVE-2017-5130, CVE-2017-5969, CVE-2022-23308

IAVB: 2017-B-0143-S