Incorrect Permission Assignment for Critical Resource Affecting mercurial-debuginfo package, versions <0:3.7.3-1.28.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.99% (84th 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-AMZN201803-MERCURIALDEBUGINFO-1706875
  • published27 Sept 2021
  • disclosed6 Jun 2017

Introduced: 6 Jun 2017

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

How to fix?

Upgrade Amazon-Linux:2018.03 mercurial-debuginfo to version 0:3.7.3-1.28.amzn1 or higher.
This issue was patched in ALAS-2017-856.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mercurial-debuginfo package and not the mercurial-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 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 Scores

version 3.1