SCA: security update for mercurial (GHSA-ghjx-3jg5-h6r2)

high Tenable Self-Hosted Container Security Plugin ID 421882

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

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

See Also

https://github.com/advisories/GHSA-ghjx-3jg5-h6r2

Plugin Details

Severity: High

ID: 421882

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.7

Percentile: 99.06

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

CVSS Score Source: CVE-2017-9462

CVSS v3

Risk Factor: High

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/13/2018

Vulnerability Publication Date: 6/6/2017

Exploitable With

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

Reference Information

CVE: CVE-2017-9462

BID: 99123

cwe: CWE-732