Amazon Linux 2023 : libwayland-client, libwayland-cursor, libwayland-egl (ALAS2023-2023-203)

medium Nessus Plugin ID 176935

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2023-203 advisory.

An internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count is maintained as an int; on LP64 systems this can cause the reference count to overflow if the client creates a large number of wl_shm buffer objects, or if it can coerce the server to create a large number of external references to the buffer storage. With the reference count overflowing, a use-after-free can be constructed on the wl_shm_pool tracking structure, where values may be incremented or decremented; it may also be possible to construct a limited oracle to leak 4 bytes of server-side memory to the attacking client at a time. (CVE-2021-3782)

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

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

Solution

Run 'dnf update wayland --releasever 2023.0.20230607' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-203.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3782.html

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

Plugin Details

Severity: Medium

ID: 176935

File Name: al2023_ALAS2023-2023-203.nasl

Version: 1.2

Type: local

Agent: unix

Published: 6/8/2023

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: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 5.7

Temporal Score: 4.5

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

CVSS Score Source: CVE-2021-3782

CVSS v3

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:wayland-devel, p-cpe:/a:amazon:linux:wayland-doc, p-cpe:/a:amazon:linux:wayland-debugsource, p-cpe:/a:amazon:linux:libwayland-cursor, p-cpe:/a:amazon:linux:libwayland-client-debuginfo, p-cpe:/a:amazon:linux:libwayland-client, p-cpe:/a:amazon:linux:wayland-debuginfo, p-cpe:/a:amazon:linux:wayland-devel-debuginfo, p-cpe:/a:amazon:linux:libwayland-server, p-cpe:/a:amazon:linux:libwayland-cursor-debuginfo, p-cpe:/a:amazon:linux:libwayland-egl-debuginfo, p-cpe:/a:amazon:linux:libwayland-server-debuginfo, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:libwayland-egl

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: 6/5/2023

Vulnerability Publication Date: 9/23/2022

Reference Information

CVE: CVE-2021-3782