7.5
CWE
20
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2018-13346: Input Validation

First published: Fri Jun 22 2018(Updated: )

Mercurial before version 4.6.1 has a missing check for fragment start position in mpatch.c:mpatch_apply() Upstream Changelog: <a href="https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29">https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29</a> Upstream Patch: <a href="https://www.mercurial-scm.org/repo/hg/rev/faa924469635">https://www.mercurial-scm.org/repo/hg/rev/faa924469635</a>

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Mercurial Mercurial<4.6.1
redhat/mercurial<4.6.1
4.6.1
pip/mercurial<4.6.1
4.6.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-13346?

    CVE-2018-13346 is a vulnerability in Mercurial before 4.6.1 that allows the mpatch_apply function in mpatch.c to incorrectly proceed in cases where the fragment start is past the end of the original data.

  • What is the severity of CVE-2018-13346?

    The severity of CVE-2018-13346 is high, with a CVSS score of 7.5.

  • Which software versions are affected by CVE-2018-13346?

    Versions of Mercurial before 4.6.1 are affected by CVE-2018-13346.

  • How can I fix CVE-2018-13346?

    To fix CVE-2018-13346, update Mercurial to version 4.6.1 or later.

  • Where can I find more information about CVE-2018-13346?

    More information about CVE-2018-13346 can be found at the following references: [Link 1](https://access.redhat.com/errata/RHSA-2019:2276), [Link 2](https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html), [Link 3](https://www.mercurial-scm.org/repo/hg/rev/faa924469635).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203