SUSE SLES15 / openSUSE 15 Security Update : libxml2 (SUSE-SU-2023:2048-1)

medium Nessus Plugin ID 174889

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLES15 / SLES_SAP15 / openSUSE 15 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2023:2048-1 advisory.

- A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service. (CVE-2021-3541)

- In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well. (CVE-2022-29824)

- In libxml2 before 2.10.4, parsing of certain invalid XSD schemas can lead to a NULL pointer dereference and subsequently a segfault. This occurs in xmlSchemaFixupComplexType in xmlschemas.c. (CVE-2023-28484)

- An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value). (CVE-2023-29469)

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

Solution

Update the affected packages.

See Also

https://bugzilla.suse.com/1065270

https://bugzilla.suse.com/1199132

https://bugzilla.suse.com/1204585

https://bugzilla.suse.com/1210411

https://bugzilla.suse.com/1210412

https://www.suse.com/security/cve/CVE-2021-3541

https://www.suse.com/security/cve/CVE-2022-29824

https://www.suse.com/security/cve/CVE-2023-28484

https://www.suse.com/security/cve/CVE-2023-29469

http://www.nessus.org/u?6fcfe24f

Plugin Details

Severity: Medium

ID: 174889

File Name: suse_SU-2023-2048-1.nasl

Version: 1.2

Type: local

Agent: unix

Published: 4/27/2023

Updated: 7/14/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.6

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

CVSS Score Source: CVE-2022-29824

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 6

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

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

CVSS Score Source: CVE-2023-29469

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:libxml2-devel, p-cpe:/a:novell:suse_linux:python3-libxml2-python, p-cpe:/a:novell:suse_linux:libxml2-2, p-cpe:/a:novell:suse_linux:libxml2-tools, p-cpe:/a:novell:suse_linux:python2-libxml2-python, p-cpe:/a:novell:suse_linux:libxml2-2-32bit, cpe:/o:novell:suse_linux:15

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/26/2023

Vulnerability Publication Date: 6/16/2021

Reference Information

CVE: CVE-2021-3541, CVE-2022-29824, CVE-2023-28484, CVE-2023-29469

SuSE: SUSE-SU-2023:2048-1