Skip to content
OpenAdvisories
High · 8.8 CVE-2016-3105 EUVD-2016-0016GHSA-49cw-434h-qc57PYSEC-2016-28

Mercurial vulnerable to arbitrary code execution when converting Git repos

Published May 9, 2016 · Updated Aug 5, 2024 · Assigned by redhat

Description

The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a crafted git repository name.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mercurial 3.8.1-1 —
Debian 13 mercurial 3.8.1-1 —
Debian 12 mercurial 3.8.1-1 —
Debian 8 mercurial 3.1.2-2+deb8u3 DSA-3570-1
Debian 7 mercurial 2.2.2-4+deb7u3 DLA-459-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS mercurial 3.7.3-1ubuntu1.1 —
Ubuntu 14.04 LTS mercurial 2.8.2-1ubuntu1.4 —
ReleasePackageFixed inAdvisory
SLES 12 SP1 mercurial 2.8.2-9.1 SUSE-SU-2016:1442-1
SLES 12 mercurial 2.8.2-9.1 SUSE-SU-2016:1442-1
SLES 11 SP4 mercurial 2.3.2-0.14.2 SUSE-SU-2016:1443-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mercurial 4.0-1.1 openSUSE-SU-2024:10070-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mercurial < 3.8 3.8 GHSA-49cw-434h-qc57
PyPI mercurial < 3.8-rc 3.8-rc PYSEC-2016-28

Advisories 5

References