Bug 973177 (CVE-2016-3068) - VUL-0: CVE-2016-3068: mercurial: arbitrary code execution with Git subrepos
Summary: VUL-0: CVE-2016-3068: mercurial: arbitrary code execution with Git subrepos
Status: RESOLVED FIXED
Alias: CVE-2016-3068
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/165155/
Whiteboard: CVSSv2:RedHat:CVE-2016-3068:6.8:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-30 10:03 UTC by Victor Pereira
Modified: 2018-06-11 15:16 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Pereira 2016-03-30 10:03:55 UTC
rh#1322266

Mercurial prior to 3.7.3 allowed URLs for Git subrepos that could result in arbitrary code execution on clone. This is a further side-effect of Git CVE-2015-7545.

External references:

https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29

Upstream fix:

https://selenic.com/repo/hg-stable/rev/34d43cb85de8

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1322266
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3068
Comment 1 Swamp Workflow Management 2016-03-30 22:01:10 UTC
bugbot adjusting priority
Comment 2 Takashi Iwai 2016-03-31 15:31:56 UTC
Do we have a bug reproducer?  The fixed packages are ready, but untested.
Comment 3 Sitsofe Wheeler 2016-04-01 04:34:21 UTC
Technically there is code that tests for the problem within the commit itself (https://selenic.com/repo/hg-stable/rev/34d43cb85de8 )
Comment 4 Bernhard Wiedemann 2016-04-04 15:00:23 UTC
This is an autogenerated message for OBS integration:
This bug (973177) was mentioned in
https://build.opensuse.org/request/show/384126 42.1 / mercurial
https://build.opensuse.org/request/show/384129 13.2 / mercurial
Comment 7 Takashi Iwai 2016-04-05 13:28:41 UTC
Assigned back to security team.
Comment 8 Swamp Workflow Management 2016-04-12 12:08:45 UTC
SUSE-SU-2016:1010-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 973175,973176,973177
CVE References: CVE-2016-3068,CVE-2016-3069,CVE-2016-3630
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP1 (src):    mercurial-2.8.2-6.1
SUSE Linux Enterprise Software Development Kit 12 (src):    mercurial-2.8.2-6.1
Comment 9 Swamp Workflow Management 2016-04-12 12:09:15 UTC
SUSE-SU-2016:1011-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 973175,973176,973177
CVE References: CVE-2016-3068,CVE-2016-3069,CVE-2016-3630
Sources used:
SUSE Linux Enterprise Software Development Kit 11-SP4 (src):    mercurial-2.3.2-0.11.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    mercurial-2.3.2-0.11.1
Comment 10 Swamp Workflow Management 2016-04-12 17:08:34 UTC
openSUSE-SU-2016:1016-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 973175,973176,973177
CVE References: CVE-2016-3068,CVE-2016-3069,CVE-2016-3630
Sources used:
openSUSE 13.2 (src):    mercurial-3.1.2-7.1
Comment 11 Andreas Stieger 2016-04-17 11:27:33 UTC
releasing for leap 42.1
Comment 12 Swamp Workflow Management 2016-04-17 15:12:04 UTC
openSUSE-SU-2016:1073-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 973175,973176,973177
CVE References: CVE-2016-3068,CVE-2016-3069,CVE-2016-3630
Sources used:
openSUSE Leap 42.1 (src):    mercurial-3.5.1-3.1
Comment 13 Marcus Meissner 2018-06-11 15:16:34 UTC
.