PyPI (Python)Worst: Critical18 advisories
mercurial: known vulnerabilities
mercurial has 18 reviewed security advisories in the GitHub Advisory Database — 6 critical, 9 high, 3 moderate. The most recent was published 2020-02-12. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the mercurial versions running across your servers, containers and images, and ranks what to patch first.
How to fix mercurial
Upgrade mercurial to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade mercurial (pin mercurial>=3.2.3)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (18)
JGit Improper Input Validation vulnerability
Critical 9.8 CWE-20
— Affected: before 3.2.3. Fixed in 3.2.3. Published 2020-02-12. GHSA-6vvc-c2m3-cjf3 · CVE-2014-9390
Mercurial Improper Certificate Validation vulnerability
Moderate 5.9 CWE-295
— Affected: before 1.6.4. Fixed in 1.6.4. Published 2019-10-29. GHSA-7gf7-7wx4-mxmw · CVE-2010-4237
Mercurial Path Traversal/Link Following vulnerability
Moderate 5.9 CWE-22 CWE-59
— Affected: before 4.9. Fixed in 4.9. Published 2019-04-22. GHSA-mq66-vcfc-8246 · CVE-2019-3902
Mercurial Out-of-bounds Read vulnerability
High 9.1 CWE-125
— Affected: before 4.7.2. Fixed in 4.7.2. Published 2018-10-04. GHSA-p575-cf9h-wv42 · CVE-2018-17983
Mercurial has Incorrect Permission Assignment for Critical Resource
High 8.8 CWE-732
— Affected: before 4.1.3. Fixed in 4.1.3. Published 2018-07-13. GHSA-ghjx-3jg5-h6r2 · CVE-2017-9462
Mercurial mishandles integer addition and subtraction
Critical 9.8 CWE-190
— Affected: before 4.6.1. Fixed in 4.6.1. Published 2018-07-06. GHSA-3mjj-mr4f-qxmx · CVE-2018-13347
Mercurial Improper Input Validation vulnerability
High 7.5 CWE-20
— Affected: before 4.6.1. Fixed in 4.6.1. Published 2018-07-06. GHSA-3v62-ww8w-758m · CVE-2018-13348
Mercurial Improper Input Validation vulnerability
High 7.5 CWE-20
— Affected: before 4.6.1. Fixed in 4.6.1. Published 2018-07-06. GHSA-9xv4-r2hf-26gh · CVE-2018-13346
Mercurial Incorrect Access Control vulnerability
Critical 9.1 CWE-732
— Affected: before 4.5.1. Fixed in 4.5.1. Published 2018-03-14. GHSA-4mr4-7vjv-9hm6 · CVE-2018-1000132
Mercurial vulnerable to arbitrary code injection
Critical 9.8 CWE-78
— Affected: before 4.4.1. Fixed in 4.4.1. Published 2017-12-07. GHSA-6v56-cpg6-3rpx · CVE-2017-17458
Mercurial is vulnerable to shell injection attack
Critical 9.8 CWE-78
— Affected: before 4.3. Fixed in 4.3. Published 2017-10-05. GHSA-3qmg-c9vc-r47j · CVE-2017-1000116
Mercurial missing symlink check
High 7.5 CWE-59
— Affected: before 4.3.1. Fixed in 4.3.1. Published 2017-10-05. GHSA-hvr9-wr9p-grgr · CVE-2017-1000115
Mercurial vulnerable to arbitrary code execution when converting Git repos
High 8.8 CWE-284
— Affected: before 3.8. Fixed in 3.8. Published 2016-05-09. GHSA-49cw-434h-qc57 · CVE-2016-3105
Mercurial vulnerable to arbitrary code execution via a crafted name when converting a Git repository
High 8.8 CWE-20
— Affected: before 3.7.3. Fixed in 3.7.3. Published 2016-04-13. GHSA-8fm8-7365-5rh2 · CVE-2016-3069
Mercurial arbitrary code execution vulnerability
High 8.8
— Affected: before 3.7.3. Fixed in 3.7.3. Published 2016-04-13. GHSA-9vjf-jjcq-3gh7 · CVE-2016-3630
Mercurial arbitrary code execution via a crafted git ext:: URL
High 8.8 CWE-20
— Affected: before 3.7.3. Fixed in 3.7.3. Published 2016-04-13. GHSA-j7c2-rqm3-c97m · CVE-2016-3068
Mercurial vulnerable to arbitrary command execution via a crafted repository name in a clone command
Critical 9.8 CWE-20
— Affected: before 3.2.4. Fixed in 3.2.4. Published 2015-03-31. GHSA-3pmw-h7j4-rf54 · CVE-2014-9462
Mercurial Directory traversal vulnerability
Moderate CWE-22
— Affected: before 1.0.2. Fixed in 1.0.2. Published 2008-06-30. GHSA-v2gw-x5jf-pgwv · CVE-2008-2942
Find mercurial across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.