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


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
5.44% (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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-EMACSMERCURIAL-5121354
  • 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 emacs-mercurial 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 emacs-mercurial package and not the emacs-mercurial 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 Scores

version 3.1