EulerOS Virtualization 3.0.6.0 : zstd (EulerOS-SA-2022-1104)

medium Nessus Plugin ID 157942

Synopsis

The remote EulerOS Virtualization host is missing multiple security updates.

Description

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

- In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions.
Correct file permissions (matching the input) would only be set at completion time. Output files could therefore be readable or writable to unintended parties. (CVE-2021-24031)

- Beginning in v1.4.1 and prior to v1.4.9, due to an incomplete fix for CVE-2021-24031, the Zstandard command-line utility created output files with default permissions and restricted those permissions immediately afterwards. Output files could therefore momentarily be readable or writable to unintended parties. (CVE-2021-24032)

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 zstd packages.

See Also

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

Plugin Details

Severity: Medium

ID: 157942

File Name: EulerOS_SA-2022-1104.nasl

Version: 1.3

Type: local

Published: 2/12/2022

Updated: 11/9/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2021-24031

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:libzstd, p-cpe:/a:huawei:euleros:libzstd-devel, p-cpe:/a:huawei:euleros:zstd, cpe:/o:huawei:euleros:uvp:3.0.6.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/12/2022

Vulnerability Publication Date: 3/4/2021

Reference Information

CVE: CVE-2021-24031, CVE-2021-24032