EulerOS 2.0 SP1 : mercurial (EulerOS-SA-2017-1132)

High Nessus Plugin ID 102479


The remote EulerOS host is missing a security update.


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.1.3, 'hg serve --stdio' allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.(CVE-2017-9462)

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.


Update the affected mercurial package.

See Also

Plugin Details

Severity: High

ID: 102479

File Name: EulerOS_SA-2017-1132.nasl

Version: 1.12

Type: local

Published: 2017/08/14

Updated: 2020/03/04

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9

Temporal Score: 7.4

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSS v3.0

Base Score: 8.8

Temporal Score: 8.2

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

Temporal Vector: CVSS:3.0/E:F/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/07/08

Exploitable With

Metasploit (Mercurial Custom hg-ssh Wrapper Remote Code Exec)

Reference Information

CVE: CVE-2017-9462