|Category:||Debian Local Security Checks|
|Title:||Debian LTS: Security Advisory for mercurial (DLA-2293-1)|
|Summary:||The remote host is missing an update for the 'mercurial'; package(s) announced via the DLA-2293-1 advisory.|
The remote host is missing an update for the 'mercurial'
package(s) announced via the DLA-2293-1 advisory.
Several vulnerabilities were discovered in mercurial, an easy-to-use,
scalable distributed version control system.
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 prevents
construction of such repositories, but they can be created
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.
mpatch.c in Mercurial before 4.6.1 mishandles integer addition and
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.
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 appears to have been
fixed in 4.5.1.
Symbolic links and subrepositories could be used defeat Mercurial's
path-checking logic and write files outside the repository root.
'mercurial' package(s) on Debian Linux.
For Debian 9 stretch, these problems have been fixed in version
We recommend that you upgrade your mercurial packages.
Common Vulnerability Exposure (CVE) ID: CVE-2019-3902|
|Copyright||Copyright (C) 2020 Greenbone Networks GmbH|
|This is only one of 85075 vulnerability tests in our test suite. Find out more about running a complete security audit.|
To run a free test of this vulnerability against your system, register below.