Input validation error in Mercurial - CVE-2016-3068
Published: April 13, 2016 / Updated: July 28, 2020
Vulnerability identifier: #VU32287
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-3068
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.
Affected software
Mercurial
libidn (Alpine package)
mercurial (Alpine package)
libidn (Alpine package)
mercurial (Alpine package)
How to mitigate CVE-2016-3068
Install update from vendor's website.
Mercurial - update to 3.7.3
libidn (Alpine package) - update to 1.31-r0
mercurial (Alpine package) - update to 3.0-r1
libidn (Alpine package) - update to 1.31-r0
mercurial (Alpine package) - update to 3.0-r1
External References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181505.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/181542.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00018.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00043.html
- http://rhn.redhat.com/errata/RHSA-2016-0706.html
- http://www.debian.org/security/2016/dsa-3542
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.securityfocus.com/bid/85733
- https://security.gentoo.org/glsa/201612-19
- https://selenic.com/repo/hg-stable/rev/34d43cb85de8
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29