CVE-2017-1000115

NameCVE-2017-1000115
DescriptionMercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1072-1, DSA-3963-1
NVD severitymedium (attack range: remote)
Debian Bugs871709

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mercurial (PTS)jessie3.1.2-2+deb8u4fixed
jessie (security)3.1.2-2+deb8u6fixed
stretch (security), stretch4.0-1+deb9u1fixed
buster4.7.2-1fixed
sid4.8.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mercurialsource(unstable)4.3.1-1medium871709
mercurialsourcejessie3.1.2-2+deb8u4mediumDSA-3963-1
mercurialsourcestretch4.0-1+deb9u1mediumDSA-3963-1
mercurialsourcewheezy2.2.2-4+deb7u5mediumDLA-1072-1

Notes

https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.282017-08-10.29
https://www.mercurial-scm.org/repo/hg/rev/47ea28293d30 (test)
https://www.mercurial-scm.org/repo/hg/rev/377e8ddaebef (fix)
3.7 and 4.1 backports available at https://bitbucket.org/atlassian/mercurial/commits/branch/sec-3.7
and https://bitbucket.org/octobus/mercurial-backport/branch/backport-4.1CVE-2017-12777

Search for package or bug name: Reporting problems