Directory Traversal Affecting mercurial-hgk package, versions <0:2.6.2-8.el7_4


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.82% (92nd 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-RHEL7-MERCURIALHGK-4772012
  • published26 Jul 2021
  • disclosed10 Aug 2017

Introduced: 10 Aug 2017

CVE-2017-1000115  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:7 mercurial-hgk to version 0:2.6.2-8.el7_4 or higher.
This issue was patched in RHSA-2017:2489.

NVD Description

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

Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository