CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2017 · Mercurial

CVE-2017-9462
Mercurial 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.

Affected products

Mercurial, Debian Linux, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Enterprise Linux Server Tus, Enterprise Linux Workstation. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mercurial runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Mercurial products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.