VDB

CVE-2017-9462

CVE-2017-9462 PUBLISHED CVSS 8.800000190734863 HIGH

Mercurial has Incorrect Permission Assignment for Critical Resource

Reported by mitre · Published June 6, 2017

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mercurialUbuntu:16.04:LTS3.7.3-1ubuntu1.1

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
PyPImercurial0

Timeline

  • Jun 6, 2017 CVE Published
  • Jul 12, 2017 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (4 in total, the first dated here)
  • Sep 27, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-9462
vulnetix vdb fixes CVE-2017-9462

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-9462/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›