8.8high

CVE-2017-9462in critical feed

Mercurial has Incorrect Permission Assignment for Critical Resource

Also known as GHSA-ghjx-3jg5-h6r2, PYSEC-2017-91

Published 9 y ago · modified 4 mo ago · JSON

CVSS
8.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
21.7%
percentile 98%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

21.68% probability of exploitation in the next 30 days, higher than 98% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.18.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.09.0AV:N/AC:L/Au:S/C:C/I:C/A:C
GitHub3.18.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
pypimercurial
<4.1.3
4.1.3

Classification

Weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource

References

  • access.redhat.com /errata/RHSA-2017:1576 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • mercurial-scm.org /repo/hg/rev/77eaf9539499 · x_refsource_CONFIRM, x_transferred
  • mercurial-scm.org /wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29 · x_refsource_CONFIRM, x_transferred
  • lists.debian.org /debian-lts-announce/2018/07/msg00005.html · mailing-list, x_refsource_MLIST, x_transferred
  • debian.org /security/2017/dsa-3963 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • security.gentoo.org /glsa/201709-18 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • bugs.debian.org /861243 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/99123 · vdb-entry, x_refsource_BID, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-9462 · advisory
  • github.com /advisories/GHSA-ghjx-3jg5-h6r2 · advisory
  • github.com /pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-91.yaml · web
  • web.archive.org /web/20200227162318/http://www.securityfocus.com/bid/99123 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.