Vulnerability
CVE-2017-17458
In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.
12 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
DEBIAN-CVE-2017-17458
In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use…
-
DLA-1224-1
mercurial - security update
-
DLA-1414-1
mercurial - security update
-
DLA-1414-2
mercurial - regression update
-
DLA-2293-1
mercurial - security update
-
GHSA-6v56-cpg6-3rpx
Mercurial vulnerable to arbitrary code injection
-
PYSEC-2017-90
In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use…
-
RHVEX-CVE-2017-17458
mercurial: arbitrary command execution in mercurial repo with a git submodule
-
SUSE-SU-2018:0127-1
Security update for mercurial
-
SUSE-SU-2018:0129-1
Security update for mercurial
-
UBUNTU-CVE-2017-17458
In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use…
-
openSUSE-SU-2024:10586-1
mercurial-5.9.1-2.1 on GA media
References
- http://www.securityfocus.com/bid/102926
- https://bz.mercurial-scm.org/show_bug.cgi?id=5730
- https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html
- https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00041.html
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html
- https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.html
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.4.1_.282017-11-07.29