8.8
HIGH
CVE-2017-9462
Mercurial Python Debugger Execution Vulnerability
Description

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.

INFO

Published Date :

June 6, 2017, 9:29 p.m.

Last Modified :

Feb. 5, 2020, 6:32 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2017-9462 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_server_aus
5 Redhat enterprise_linux_server_eus
6 Redhat enterprise_linux_server_tus
1 Debian debian_linux
1 Mercurial mercurial
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-9462.

URL Resource
http://www.debian.org/security/2017/dsa-3963 Third Party Advisory
http://www.securityfocus.com/bid/99123 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1576 Third Party Advisory
https://bugs.debian.org/861243 Issue Tracking Mailing List Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html Mailing List Third Party Advisory
https://security.gentoo.org/glsa/201709-18 Third Party Advisory
https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499 Mailing List Vendor Advisory
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29 Release Notes Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-9462 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-9462 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Feb. 05, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed CPE Configuration OR *cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* versions up to (including) 4.12 OR *cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* versions up to (excluding) 4.1.3
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 CWE-732
  • Modified Analysis by [email protected]

    Mar. 14, 2019

    Action Type Old Value New Value
    Changed Reference Type http://www.debian.org/security/2017/dsa-3963 No Types Assigned http://www.debian.org/security/2017/dsa-3963 Third Party Advisory
    Changed Reference Type https://bugs.debian.org/861243 Mailing List, Patch, Third Party Advisory https://bugs.debian.org/861243 Issue Tracking, Mailing List, Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/99123 No Types Assigned http://www.securityfocus.com/bid/99123 Third Party Advisory, VDB Entry
    Changed Reference Type https://security.gentoo.org/glsa/201709-18 No Types Assigned https://security.gentoo.org/glsa/201709-18 Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html Mailing List, Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:1576 No Types Assigned https://access.redhat.com/errata/RHSA-2017:1576 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 07, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:1576 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 06, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3963 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 26, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201709-18 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 21, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/99123 [No Types Assigned]
  • Reanalysis by [email protected]

    Jun. 08, 2017

    Action Type Old Value New Value
    Changed Reference Type https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29 Vendor Advisory https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29 Release Notes, Vendor Advisory
    Changed CPE Configuration OR *cpe:2.3:a:mercurial-scm:mercurial:4.1.2:*:*:*:*:*:*:* (and previous) OR *cpe:2.3:a:mercurial:mercurial:4.12:*:*:*:*:*:*:* (and previous)
  • Initial Analysis by [email protected]

    Jun. 08, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29 No Types Assigned https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29 Vendor Advisory
    Changed Reference Type https://bugs.debian.org/861243 No Types Assigned https://bugs.debian.org/861243 Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499 No Types Assigned https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499 Mailing List, Vendor Advisory
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:a:mercurial-scm:mercurial:4.1.2:*:*:*:*:*:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.04 }} -0.96%

score

0.89120

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability