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.
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mercurial | Mercurial | * | 4.1.3 (excluding) |
Red Hat Enterprise Linux 6 | RedHat | mercurial-0:1.4-5.el6_9 | * |
Red Hat Enterprise Linux 7 | RedHat | mercurial-0:2.6.2-7.el7_3 | * |
Mercurial | Ubuntu | artful | * |
Mercurial | Ubuntu | esm-apps/xenial | * |
Mercurial | Ubuntu | esm-infra-legacy/trusty | * |
Mercurial | Ubuntu | trusty | * |
Mercurial | Ubuntu | trusty/esm | * |
Mercurial | Ubuntu | xenial | * |
Mercurial | Ubuntu | yakkety | * |
Mercurial | Ubuntu | zesty | * |