8.8high

CVE-2016-3630

Mercurial arbitrary code execution vulnerability

Also known as GHSA-9vjf-jjcq-3gh7, PYSEC-2016-29

Published 10 y ago · modified 4 mo ago · JSON

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

Summary

The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records.

Exploit prediction (EPSS)

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

CVSS scores

Assigned byVersionScoreVector
NVD3.18.8CVSS:3.1/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

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/b9714d958e89 · x_refsource_CONFIRM, x_transferred
  • selenic.com /repo/hg-stable/rev/b6ed2505d6cf · x_refsource_CONFIRM, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00018.html · vendor-advisory, x_refsource_SUSE, 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
  • 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-3630 · advisory
  • github.com /pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2016-29.yaml · web
  • github.com /advisories/GHSA-9vjf-jjcq-3gh7 · advisory

Sources

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