Amazon Linux 2022 : libxml2, libxml2-devel, libxml2-static (ALAS2022-2022-068)

high Nessus Plugin ID 164749

Synopsis

The remote Amazon Linux 2022 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2022-2022-068 advisory.

valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes. (CVE-2022-23308)

A flaw was found in the libxml2 library in functions used to manipulate the xmlBuf and the xmlBuffer types. A substantial input causes values to calculate buffer sizes to overflow, resulting in an out-of- bounds write. (CVE-2022-29824)

Tenable has extracted the preceding description block directly from the tested product 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

Run 'dnf update --releasever=2022.0.20220518 libxml2' to update your system.

See Also

https://alas.aws.amazon.com/AL2022/ALAS-2022-068.html

https://alas.aws.amazon.com/cve/html/CVE-2022-23308.html

https://alas.aws.amazon.com/cve/html/CVE-2022-29824.html

Plugin Details

Severity: High

ID: 164749

File Name: al2022_ALAS2022-2022-068.nasl

Version: 1.6

Type: local

Agent: unix

Published: 9/6/2022

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2022-29824

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

CVSS Score Source: CVE-2022-23308

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libxml2-devel, p-cpe:/a:amazon:linux:libxml2-debuginfo, p-cpe:/a:amazon:linux:python3-libxml2, p-cpe:/a:amazon:linux:libxml2-debugsource, cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:libxml2, p-cpe:/a:amazon:linux:python3-libxml2-debuginfo, p-cpe:/a:amazon:linux:libxml2-static

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/18/2022

Vulnerability Publication Date: 2/26/2022

Reference Information

CVE: CVE-2022-23308, CVE-2022-29824