Incorrect Permission Assignment for Critical Resource Affecting mercurial package, versions <4.3.1-r0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
21.69% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE35-MERCURIAL-467863
  • published22 Sept 2019
  • disclosed6 Jun 2017
  • creditUnknown

Introduced: 6 Jun 2017

CVE-2017-9462  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Alpine:3.5 mercurial to version 4.3.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mercurial package and not the mercurial package as distributed by Alpine. See How to fix? for Alpine:3.5 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1