EulerOS 2.0 SP8 : wayland (EulerOS-SA-2023-1343)

medium Nessus Plugin ID 171181

Synopsis

The remote EulerOS host is missing a security update.

Description

According to the versions of the wayland packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- 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)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected wayland packages.

See Also

http://www.nessus.org/u?be87d39d

Plugin Details

Severity: Medium

ID: 171181

File Name: EulerOS_SA-2023-1343.nasl

Version: 1.1

Type: local

Published: 2/8/2023

Updated: 9/5/2023

Supported Sensors: 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:huawei:euleros:libwayland-client, p-cpe:/a:huawei:euleros:libwayland-cursor, p-cpe:/a:huawei:euleros:libwayland-egl, p-cpe:/a:huawei:euleros:libwayland-server, p-cpe:/a:huawei:euleros:wayland-devel, cpe:/o:huawei:euleros:2.0

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

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/8/2023

Vulnerability Publication Date: 9/23/2022

Reference Information

CVE: CVE-2021-3782