—
PYSEC-2018-88
Quick fix
PYSEC-2018-88 — mercurial: upgrade to the fixed version with the command below.
pip install --upgrade 'mercurial>=4.6.1'Details
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, aka OVE-20180430-0004.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29[WEB]
- https://www.mercurial-scm.org/repo/hg/rev/faa924469635[WEB]
- https://access.redhat.com/errata/RHSA-2019:2276[ADVISORY]
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html[WEB]
- https://github.com/advisories/GHSA-9xv4-r2hf-26gh[ADVISORY]