CVE-2017-9462: Mercurial has Incorrect Permission Assignment for Critical Resource
(updated )
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.
References
- access.redhat.com/errata/RHSA-2017:1576
- bugs.debian.org/861243
- github.com/advisories/GHSA-ghjx-3jg5-h6r2
- github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-91.yaml
- lists.debian.org/debian-lts-announce/2018/07/msg00005.html
- nvd.nist.gov/vuln/detail/CVE-2017-9462
- security.gentoo.org/glsa/201709-18
- web.archive.org/web/20200227162318/http://www.securityfocus.com/bid/99123
- www.mercurial-scm.org/repo/hg/rev/77eaf9539499
- www.mercurial-scm.org/wiki/WhatsNew
Detect and mitigate CVE-2017-9462 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →