Amazon Linux 2 : libXpm (ALAS-2023-2295)

high Nessus Plugin ID 183468

Synopsis

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

Description

The version of libXpm installed on the remote host is prior to 3.5.12-9. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2295 advisory.

- A vulnerability was found in libX11 due to an integer overflow within the XCreateImage() function. This flaw allows a local user to trigger an integer overflow and execute arbitrary code with elevated privileges. (CVE-2023-43787)

- A vulnerability was found in libXpm due to a boundary condition within the XpmCreateXpmImageFromBuffer() function. This flaw allows a local to trigger an out-of-bounds read error and read the contents of memory on the system. (CVE-2023-43788)

- A vulnerability was found in libXpm where a vulnerability exists due to a boundary condition, a local user can trigger an out-of-bounds read error and read contents of memory on the system. (CVE-2023-43789)

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

Solution

Run 'yum update libXpm' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2295.html

https://alas.aws.amazon.com/cve/html/CVE-2023-43787.html

https://alas.aws.amazon.com/cve/html/CVE-2023-43788.html

https://alas.aws.amazon.com/cve/html/CVE-2023-43789.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 183468

File Name: al2_ALAS-2023-2295.nasl

Version: 1.0

Type: local

Agent: unix

Published: 10/20/2023

Updated: 10/20/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-43787

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libxpm, p-cpe:/a:amazon:linux:libxpm-debuginfo, p-cpe:/a:amazon:linux:libxpm-devel, cpe:/o:amazon:linux:2

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/12/2023

Vulnerability Publication Date: 10/10/2023

Reference Information

CVE: CVE-2023-43787, CVE-2023-43788, CVE-2023-43789