CVE-2017-17458
Mercurial Git Hook Code Injection Vulnerability
Description
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.
INFO
Published Date :
Dec. 7, 2017, 6:29 p.m.
Last Modified :
Nov. 21, 2024, 3:17 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-17458
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-17458
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-17458
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/102926 Added Reference https://bz.mercurial-scm.org/show_bug.cgi?id=5730 Added Reference https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html Added Reference https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00041.html Added Reference https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html Added Reference https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.html Added Reference https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.4.1_.282017-11-07.29 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jul. 31, 2020
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 14, 2019
Action Type Old Value New Value Changed Reference Type http://www.securityfocus.com/bid/102926 No Types Assigned http://www.securityfocus.com/bid/102926 Third Party Advisory, VDB Entry Changed Reference Type https://bz.mercurial-scm.org/show_bug.cgi?id=5730 Third Party Advisory https://bz.mercurial-scm.org/show_bug.cgi?id=5730 Issue Tracking, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html No Types Assigned https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/07/msg00041.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/07/msg00041.html Mailing List, Third Party Advisory Changed Reference Type https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html No Types Assigned https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 29, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00041.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 07, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 08, 2018
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/102926 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 04, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2017/12/msg00027.html [No Types Assigned] -
CVE Modified by [email protected]
Jan. 27, 2018
Action Type Old Value New Value Added Reference https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 22, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://bz.mercurial-scm.org/show_bug.cgi?id=5730 No Types Assigned https://bz.mercurial-scm.org/show_bug.cgi?id=5730 Third Party Advisory Changed Reference Type https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.html No Types Assigned https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-November/107333.html Vendor Advisory Changed Reference Type https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.4.1_.282017-11-07.29 No Types Assigned https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.4.1_.282017-11-07.29 Vendor Advisory Added CWE CWE-78 Added CPE Configuration OR *cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* versions up to (excluding) 4.4.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-17458
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-17458
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.93 }} 0.22%
score
0.82764
percentile