Back to CVE catalog
CVE-2017-9462

Arbitrary code execution in Mercurial via --debugger

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

8.8High
Published:
Updated:
EPSS:
21.685%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:mercurialmercurialAffected versions:
< 4.1.3Show full version range for mercurial
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:Debiandebian linuxAffected versions:
8.0Show full version range for debian linux
9.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux desktopAffected versions:
6.0Show full version range for enterprise linux desktop
7.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux serverAffected versions:
6.0Show full version range for enterprise linux server
7.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux server ausAffected versions:
7.3Show full version range for enterprise linux server aus
7.47.6
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux server eusAffected versions:
7.3Show full version range for enterprise linux server eus
7.47.57.6
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux server tusAffected versions:
7.3Show full version range for enterprise linux server tus
7.6
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux workstationAffected versions:
6.0Show full version range for enterprise linux workstation
7.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–8 of 8 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary8.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)9.0 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories11

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences