VDB
Sign up
—

PYSEC-2017-91

Quick fix

PYSEC-2017-91 — mercurial: upgrade to the fixed version with the command below.

pip install --upgrade 'mercurial>=4.1.3'

Details

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and consequently execute arbitrary code, by using --debugger as a repository name.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References