EulerOS 2.0 SP8 : cpio (EulerOS-SA-2020-1002)

high Nessus Plugin ID 132595

Synopsis

The remote EulerOS host is missing a security update.

Description

According to the version of the cpio package installed, the EulerOS installation on the remote host is affected by the following vulnerability :

- cpio does not properly validate the values written in the header of a TAR file through the to_oct() function.
When creating a TAR file from a list of files and one of those is another TAR file with a big size, cpio will generate the resulting file with the content extracted from the input one. This leads to unexpected results as the newly generated TAR file could have files with permissions the owner of the input TAR file did not have or in paths he did not have access to.(CVE-2019-14866)

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 cpio package.

See Also

http://www.nessus.org/u?4d6d15b1

Plugin Details

Severity: High

ID: 132595

File Name: EulerOS_SA-2020-1002.nasl

Version: 1.8

Type: local

Published: 1/2/2020

Updated: 4/2/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.4

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

CVSS Score Source: CVE-2019-14866

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:cpio, 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: 1/2/2020

Reference Information

CVE: CVE-2019-14866