Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582238 (CVE-2016-3105) - <dev-vcs/mercurial-3.8.4: arbitrary code execution when converting git repos (CVE-2016-3105)
Summary: <dev-vcs/mercurial-3.8.4: arbitrary code execution when converting git repos ...
Alias: CVE-2016-3105
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: B2 [glsa cve cleanup]
Depends on:
Reported: 2016-05-06 08:48 UTC by Agostino Sarubbo
Modified: 2016-12-07 10:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2016-05-06 08:48:45 UTC
From ${URL} :

A possible arbitrary code execution when converting Git repos was found in Mercirual.  Mercurial 
prior to 3.8 allowed arbitrary code execution when using the convert extension on Git repos with 
hostile names. This could affect automated code conversion services that allow arbitrary repository 
names. This is a further side-effect of Git CVE-2015-7545.

External Reference:

Upstream fix:

@maintainer(s): since the fixed package is already in the tree, please let us know if it is ready for the stabilization or not.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-05-06 10:37:26 UTC
Yes, feel free to stabilize.
Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2016-11-01 09:44:53 UTC
CVE-2016-3105 (
  The convert extension in Mercurial before 3.8 might allow context-dependent
  attackers to execute arbitrary code via a crafted git repository name.
Comment 3 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2016-11-01 09:48:21 UTC
@arches, please stabilize:


Yes, the bug title differs as 3.8.1 is the actual fixed version thus it needs to reflect for GLSA reasons.  Thanks.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2016-11-03 09:37:17 UTC
Stable for HPPA PPC64.
Comment 5 Agostino Sarubbo gentoo-dev 2016-11-04 08:21:46 UTC
amd64 stable
Comment 6 Agostino Sarubbo gentoo-dev 2016-11-04 08:25:05 UTC
x86 stable
Comment 7 Markus Meier gentoo-dev 2016-11-10 17:46:20 UTC
arm stable
Comment 8 Tobias Klausmann (RETIRED) gentoo-dev 2016-11-14 14:54:02 UTC
Stable on alpha.
Comment 9 Agostino Sarubbo gentoo-dev 2016-11-27 11:41:08 UTC
ppc stable
Comment 10 Agostino Sarubbo gentoo-dev 2016-11-28 09:36:22 UTC
sparc stable
Comment 11 Agostino Sarubbo gentoo-dev 2016-11-28 09:39:35 UTC
ia64 stable.

Maintainer(s), please cleanup.
Comment 12 GLSAMaker/CVETool Bot gentoo-dev 2016-12-07 10:36:50 UTC
This issue was resolved and addressed in
 GLSA 201612-19 at
by GLSA coordinator Aaron Bauman (b-man).