GitHub Advisoryadvisory · PyPI
GHSA-3mjj-mr4f-qxmx Mercurial mishandles integer addition and subtraction
CRITICAL
Official page ↗
- Aliases
- CVE-2018-13347
- Ecosystem
- PyPI
- Packages
- mercurial
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-190
- Reviewed
- 2024-05-01
Affected packages
• PyPI mercurial: < 4.6.1 → fixed in 4.6.1
Description
`mpatch.c` in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
Related
Alias · CVE (1)
- CVE-2018-13347 mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002. vulnerability
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-13347 advisory
- https://access.redhat.com/errata/RHSA-2019:2276 web
- https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-89.yaml web
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html web
- https://www.mercurial-scm.org/repo/hg-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+and+4.5%3A%3A web
- https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478c web
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29 web