CVE-2017-9462

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductMercurial
PublishedJun 6, 2017
First seenJun 6, 2017

How to fix

Update
  • mercurial mercurial4.1.3 or later
  • mercurial4.1.3 or later

Affected products

ProductAffected versionsFixed in
mercurial mercurialv < 4.1.34.1.3
debian debian_linux8.0, 9.0—
redhat enterprise_linux_desktop6.0, 7.0—
redhat enterprise_linux_server6.0, 7.0—
redhat enterprise_linux_server_aus7.3, 7.4, 7.6—
redhat enterprise_linux_server_eus7.3, 7.4, 7.5, 7.6—
redhat enterprise_linux_server_tus7.3, 7.6—
redhat enterprise_linux_workstation6.0, 7.0—
mercurialPyPIv < 4.1.34.1.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2017-9462 · Mercurial · Dark Radar