OS Command Injection Affecting mercurial-hgk package, versions <0:2.6.2-8.el7_4


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
6.37% (94th 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-ORACLE7-MERCURIALHGK-2519830
  • published10 Apr 2022
  • disclosed5 Oct 2017

Introduced: 5 Oct 2017

CVE-2017-1000116  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Oracle:7 mercurial-hgk to version 0:2.6.2-8.el7_4 or higher.
This issue was patched in ELSA-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 Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.