—
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
References
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.1.3_.282017-4-18.29[WEB]
- https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499[WEB]
- https://bugs.debian.org/861243[WEB]
- http://www.securityfocus.com/bid/99123[WEB]
- https://security.gentoo.org/glsa/201709-18[ADVISORY]
- http://www.debian.org/security/2017/dsa-3963[ADVISORY]
- https://access.redhat.com/errata/RHSA-2017:1576[ADVISORY]
- https://lists.debian.org/debian-lts-announce/2018/07/msg00005.html[WEB]
- https://github.com/advisories/GHSA-ghjx-3jg5-h6r2[ADVISORY]