Linux Security
    Linux Security
    Linux Security

    Debian LTS: DLA-2293-1: mercurial security update

    Posted By
    Several vulnerabilities were discovered in mercurial, an easy-to-use, scalable distributed version control system. CVE-2017-17458
    Debian LTS Advisory DLA-2293-1                This email address is being protected from spambots. You need JavaScript enabled to view it.                                     
    July 27, 2020                       
    Package        : mercurial
    Version        : 4.0-1+deb9u2
    CVE ID         : CVE-2017-17458 CVE-2018-13346 CVE-2018-13347 CVE-2018-13348 
                     CVE-2018-1000132 CVE-2019-3902
    Debian Bug     : 901050 892964 927674
    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.
    For Debian 9 stretch, these problems have been fixed in version
    We recommend that you upgrade your mercurial packages.
    For the detailed security status of mercurial please refer to
    its security tracker page at:
    Further information about Debian LTS security advisories, how to apply
    these updates to your system and frequently asked questions can be
    found at:


    LinuxSecurity Poll

    How are you contributing to Open Source?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 4 answer(s).
    [{"id":"127","title":"I'm involved with the development of an open-source project(s).","votes":"1","type":"x","order":"1","pct":100,"resources":[]},{"id":"128","title":"I've reported vulnerabilities I've discovered in open-source code.","votes":"0","type":"x","order":"2","pct":0,"resources":[]},{"id":"129","title":"I've provided developers with feedback on their projects.","votes":"0","type":"x","order":"3","pct":0,"resources":[]},{"id":"130","title":"I've helped another community member get started contributing to Open Source.","votes":"0","type":"x","order":"4","pct":0,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350


    bottom 200

    Please enable / Bitte aktiviere JavaScript!
    Veuillez activer / Por favor activa el Javascript![ ? ]

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.