Arbitrary Command Injection Affecting mercurial-hgk package, versions <0:2.6.2-6.el7_2


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
5.41% (93rd 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-4607643
  • published26 Jul 2021
  • disclosed29 Mar 2016

Introduced: 29 Mar 2016

CVE-2016-3068  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade RHEL:7 mercurial-hgk to version 0:2.6.2-6.el7_2 or higher.
This issue was patched in RHSA-2016:0706.

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 before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.

CVSS Base Scores

version 3.1