VDB
Sign up
—

PYSEC-2018-90

Quick fix

PYSEC-2018-90 — mercurial: upgrade to the fixed version with the command below.

pip install --upgrade 'mercurial>=4.6.1'

Details

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, aka OVE-20180430-0001.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mercurial
Introduced in: 0Fixed in: 4.6.1
Fixpip install --upgrade 'mercurial>=4.6.1'

References