EulerOS 2.0 SP3 : mercurial (EulerOS-SA-2022-1747)

high Nessus Plugin ID 161516

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

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

- The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote attackers to execute arbitrary commands via a crafted repository name in a clone command. (CVE-2014-9462)

- The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a crafted git repository name. (CVE-2016-3105)

- The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records. (CVE-2016-3630)

- The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001. (CVE-2018-13348)

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

See Also

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

Plugin Details

Severity: High

ID: 161516

File Name: EulerOS_SA-2022-1747.nasl

Version: 1.3

Type: local

Published: 5/26/2022

Updated: 10/26/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2014-9462

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS Score Source: CVE-2016-3630

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:mercurial, 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: 5/25/2022

Vulnerability Publication Date: 3/31/2015

Reference Information

CVE: CVE-2014-9462, CVE-2016-3105, CVE-2016-3630, CVE-2018-13348