Vulnerabilities · 2018 · Mercurial
CVE-2018-13347
Mercurial vulnerability
mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Mercurial. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mercurial runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.mercurial-scm.org/repo/hg-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+a · Patch
- www.mercurial-scm.org/repo/hg/rev/1acfc35d478c · Patch
- www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29 · Vendor Advisory
- access.redhat.com/errata/RHSA-2019:2276
- lists.debian.org/debian-lts-announce/2020/07/msg00032.html
- nvd.nist.gov/vuln/detail/CVE-2018-13347
- github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-89.yaml
- github.com/advisories/GHSA-3mjj-mr4f-qxmx
- nvd.nist.gov/vuln/detail/CVE-2018-13347
- cve.org/CVERecord?id=CVE-2018-13347
More vulnerabilities in Mercurial products
CVE-2019-3902CVE-2018-1000132CVE-2018-17983CVE-2018-13348CVE-2018-13346CVE-2017-1000116CVE-2017-1000115CVE-2017-17458All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.