EulerOS 2.0 SP9 : zstd (EulerOS-SA-2021-2286)

medium Nessus Plugin ID 152298

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

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

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

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

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?612dfebe

Plugin Details

Severity: Medium

ID: 152298

File Name: EulerOS_SA-2021-2286.nasl

Version: 1.3

Type: local

Published: 8/9/2021

Updated: 12/6/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:zstd, cpe:/o:huawei:euleros:2.0

Required KB Items: Host/local_checks_enabled, 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: 8/9/2021

Reference Information

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