8.8high

CVE-2016-3068

Mercurial arbitrary code execution via a crafted git ext:: URL

Also known as GHSA-j7c2-rqm3-c97m, PYSEC-2016-26

Published 10 y ago · modified 4 mo ago · JSON

CVSS
8.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
5.4%
percentile 93%
Public exploits
0
none known

Summary

Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.

Exploit prediction (EPSS)

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

CVSS scores

Assigned byVersionScoreVector
NVD3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.08.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
pypimercurial
<3.7.3
3.7.3

Classification

Weakness
  • CWE-20 Improper Input Validation

References

  • lists.fedoraproject.org /pipermail/package-announce/2016-April/181505.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • security.gentoo.org /glsa/201612-19 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • debian.org /security/2016/dsa-3542 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • selenic.com /repo/hg-stable/rev/34d43cb85de8 · x_refsource_CONFIRM, x_transferred
  • oracle.com /technetwork/topics/security/linuxbulletinapr2016-2952096.html · x_refsource_CONFIRM, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00018.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-0706.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • mercurial-scm.org /wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29 · x_refsource_CONFIRM, x_transferred
  • oracle.com /technetwork/topics/security/bulletinapr2016-2952098.html · x_refsource_CONFIRM, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00017.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00016.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • securityfocus.com /bid/85733 · vdb-entry, x_refsource_BID, x_transferred
  • lists.fedoraproject.org /pipermail/package-announce/2016-April/181542.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00043.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-3068 · advisory
  • github.com /pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-26.yaml · web
  • web.archive.org /web/20200228003737/http://www.securityfocus.com/bid/85733 · web
  • github.com /advisories/GHSA-j7c2-rqm3-c97m · advisory

Sources

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