[manjaro-security] [arch-security] [ASA-201604-6] mercurial: arbitrary code execution
anthraxx at archlinux.org
Wed Apr 6 12:58:53 CEST 2016
Arch Linux Security Advisory ASA-201604-6
Date : 2016-04-06
CVE-ID : CVE-2016-3068 CVE-2016-3069 CVE-2016-3630
Package : mercurial
Type : arbitrary code execution
Remote : Yes
Link : https://wiki.archlinux.org/index.php/CVE
The package mercurial before version 3.7.3-1 is vulnerable to arbitrary
Upgrade to 3.7.3-1.
# pacman -Syu "mercurial>=3.7.3-1"
The problems have been fixed upstream in version 3.7.3.
- CVE-2016-3068 (arbitrary code execution)
It was reported that in mercurial, there is similar vulnerability as
CVE-2015-7545 in git. Git's git-remote-ext remote helper provides an
ext:: URL scheme that allows running arbitrary shell commands. Mercurial
allows specifying git repositories as subrepositories. Git ext:: URLs
can be specified as Mercurial subrepositories allowing arbitrary shell
commands to be run on `hg clone`.
- CVE-2016-3069 (arbitrary code execution)
It was reported that Convert extension in mercurial is vulnerable to
command execution. Incorrect handling of command line parameters allows
passing a full Git remote URL via a directory name. The Git ext:: URL
scheme can be used to obtain arbitrary command execution. Furthermore,
lack of escaping of shell metacharacters allows arbitrary command
injection, which is another way of exploiting the vulnerable code.
- CVE-2016-3630 (arbitrary code execution)
Two bounds-checking errors have been discovered in the binary delta
decoder that may be exploitable via clone, push, or pull leading to
arbitrary code execution.
A remote attacker is able to execute arbitrary code via the mercurial
convert extension, git subrepositories or a vulnerability in the binary
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the manjaro-security