Incorrect Permission Assignment for Critical Resource

Affecting mercurial package, versions <4.0-1+deb9u1

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

NVD Description

Note: Versions mentioned in the description apply to the upstream mercurial package. See Remediation section below for Debian:9 relevant versions.

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.

Remediation

Upgrade Debian:9 mercurial to version 4.0-1+deb9u1 or higher.

References

CVSS Score

8.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    Low
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE
CVE-2017-9462
CWE
CWE-732
Snyk ID
SNYK-DEBIAN9-MERCURIAL-311094
Disclosed
06 Jun, 2017
Published
06 Jun, 2017