mercurial
PyPI18 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting mercurialpage 1 of 1
- CVE-2008-2942MEDIUMCVSS v2 6.8EG 6.8fixed in 1.0.22008-06-30
vulnerable: 0.8.1 ... 1.0.1 (9 versions)
Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via ".." (dot dot) sequences in a patch file.
- CVE-2010-4237MEDIUMCVSS 5.9EG 5.9fixed in 1.6.42019-10-29
vulnerable: 0.8.1 ... 1.6.3 (30 versions)
Mercurial before 1.6.4 fails to verify the Common Name field of SSL certificates which allows remote attackers who acquire a certificate signed by a Certificate Authority to perform a man-in-the-middle attack.
- CVE-2014-9390CRITICALCVSS 9.8EG 9.8fixed in 3.2.32020-02-12
vulnerable: 0.8.1 ... 3.2.2 (78 versions)
Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; lib…
- CVE-2014-9462HIGHCVSS v2 7.5EG 7.5fixed in 3.2.42015-03-31
vulnerable: 0.8.1 ... 3.2.3 (79 versions)
The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote attackers to execute arbitrary commands via a crafted repository name in a clone command.
- CVE-2016-3068HIGHCVSS 8.8EG 8.8fixed in 3.7.32016-04-13
vulnerable: 0.8.1 ... 3.7.2 (102 versions)
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.
- CVE-2016-3069HIGHCVSS 8.8EG 8.8fixed in 3.7.32016-04-13
vulnerable: 0.8.1 ... 3.7.2 (102 versions)
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted name when converting a Git repository.
- CVE-2016-3105HIGHCVSS 8.8EG 8.8fixed in 3.8 or 3.8-rc, by version range2016-05-09
vulnerable: 0.8.1 ... 3.7.3 (103 versions)
The convert extension in Mercurial before 3.8 might allow context-dependent attackers to execute arbitrary code via a crafted git repository name.
- CVE-2016-3630HIGHCVSS 8.8EG 8.8fixed in 3.7.32016-04-13
vulnerable: 0.8.1 ... 3.7.2 (102 versions)
The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a (1) clone, (2) push, or (3) pull command, related to (a) a list sizing rounding error and (b) short records.
- CVE-2017-1000115HIGHCVSS 7.5EG 7.5fixed in 4.3.1 or 4.3, by version range2017-10-05
vulnerable: 0.8.1 ... 4.3rc0 (129 versions)
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
- CVE-2017-1000116CRITICALCVSS 9.8EG 9.8fixed in 4.32017-10-05
vulnerable: 0.8.1 ... 4.3rc0 (129 versions)
Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.
- CVE-2017-17458CRITICALCVSS 9.8EG 9.8fixed in 4.4.12017-12-07
vulnerable: 0.8.1 ... 4.4rc0 (136 versions)
In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial preven…
- CVE-2017-9462HIGHCVSS 8.8EG 8.8fixed in 4.1.32017-06-06
vulnerable: 0.8.1 ... 4.1.2 (121 versions)
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.
- CVE-2018-1000132CRITICALCVSS 9.1EG 9.1fixed in 4.5.12018-03-14
vulnerable: 0.8.1 ... 4.5rc0 (141 versions)
Mercurial version 4.5 and earlier contains a Incorrect Access Control (CWE-285) vulnerability in Protocol server that can result in Unauthorized data access. This attack appear to be exploitable via network connectivity. This vulnerability…
- CVE-2018-13346HIGHCVSS 7.5EG 7.5fixed in 4.6.12018-07-06
vulnerable: 0.8.1 ... 4.6rc1 (147 versions)
The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.
- CVE-2018-13347CRITICALCVSS 9.8EG 9.8fixed in 4.6.12018-07-06
vulnerable: 0.8.1 ... 4.6rc1 (147 versions)
mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
- CVE-2018-13348HIGHCVSS 7.5EG 7.5fixed in 4.6.12018-07-06
vulnerable: 0.8.1 ... 4.6rc1 (147 versions)
The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.
- CVE-2018-17983CRITICALCVSS 9.1EG 9.1fixed in 4.7.22018-10-04
vulnerable: 0.8.1 ... 4.7rc0 (152 versions)
cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.
- CVE-2019-3902MEDIUMCVSS 5.1EG 5.1fixed in 4.92019-04-22
vulnerable: 0.8.1 ... 4.9rc0 (158 versions)
A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.
Check whether mercurial is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for mercurial CVEs against the assets you own.
Book a Demo →