EulerOS 2.0 SP3 : mercurial (EulerOS-SA-2021-1816)

critical Nessus Plugin ID 149194

Synopsis

The remote EulerOS host is missing a security update.

Description

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

- In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.(CVE-2017-17458)

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

See Also

http://www.nessus.org/u?15d62daa

Plugin Details

Severity: Critical

ID: 149194

File Name: EulerOS_SA-2021-1816.nasl

Version: 1.3

Type: local

Published: 4/30/2021

Updated: 1/2/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2017-17458

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:mercurial, 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 Ease: No known exploits are available

Patch Publication Date: 4/30/2021

Reference Information

CVE: CVE-2017-17458