CVE-2016-3069 Mercurial vulnerable to arbitrary code execution via a crafted name when converting a Git repository
Remote attackers can execute arbitrary code in Mercurial by providing a crafted name during Git repository conversion.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-3069?
CVE-2016-3069 is a high-severity code injection vulnerability in Debian Debian Linux, published on 13 Apr 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository.
Weakness: CWE-20
Which versions are affected by CVE-2016-3069?
3 open source packages ship an affected version, including mercurial. It affects 14 products.
| Package | Affected | Fixed in |
|---|---|---|
mercurial PyPI | All versions | 3.7.3 |
mercurial PyPI | All versions | 3.7.3 |
mercurial PyPI | All versions | 3.7.3 |
Products include Debian Debian Linux, Fedoraproject Fedora, Mercurial Mercurial, Opensuse Leap, Opensuse Opensuse, Redhat Enterprise Linux Desktop and 8 more.
How do I fix CVE-2016-3069?
Upgrade mercurial to 3.7.3 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2016-3069 being exploited?
There is no known exploitation of CVE-2016-3069 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2016-3069, GHSA-8fm8-7365-5rh2, PYSEC-2016-27, UBUNTU-CVE-2016-3069.