Updated mercurial packages has been released for Debian 7 LTS
Package : mercurialMercurial security update for Debian 7 LTS
Version : 2.2.2-4+deb7u4
CVE ID : CVE-2017-9462
Debian Bug : 861243
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.
For Debian 7 "Wheezy", these problems have been fixed in version
2.2.2-4+deb7u4.
We recommend that you upgrade your mercurial packages.
Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS