RHEL 7 : mercurial (RHSA-2016:0706)

high Nessus Plugin ID 90851

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

An update for mercurial is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Mercurial is a fast, lightweight source control management system designed for efficient handling of very large distributed projects.

Security Fix(es) :

* It was discovered that Mercurial failed to properly check Git sub-repository URLs. A Mercurial repository that includes a Git sub-repository with a specially crafted URL could cause Mercurial to execute arbitrary code. (CVE-2016-3068)

* It was discovered that the Mercurial convert extension failed to sanitize special characters in Git repository names. A Git repository with a specially crafted name could cause Mercurial to execute arbitrary code when the Git repository was converted to a Mercurial repository. (CVE-2016-3069)

Red Hat would like to thank Blake Burkhart for reporting these issues.

Solution

Update the affected packages.

See Also

https://access.redhat.com/errata/RHSA-2016:0706

https://access.redhat.com/security/cve/cve-2016-3068

https://access.redhat.com/security/cve/cve-2016-3069

Plugin Details

Severity: High

ID: 90851

File Name: redhat-RHSA-2016-0706.nasl

Version: 2.13

Type: local

Agent: unix

Published: 5/3/2016

Updated: 10/24/2019

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:emacs-mercurial, p-cpe:/a:redhat:enterprise_linux:emacs-mercurial-el, p-cpe:/a:redhat:enterprise_linux:mercurial, p-cpe:/a:redhat:enterprise_linux:mercurial-debuginfo, p-cpe:/a:redhat:enterprise_linux:mercurial-hgk, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:7.2, cpe:/o:redhat:enterprise_linux:7.3, cpe:/o:redhat:enterprise_linux:7.4, cpe:/o:redhat:enterprise_linux:7.5, cpe:/o:redhat:enterprise_linux:7.6, cpe:/o:redhat:enterprise_linux:7.7

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 5/2/2016

Vulnerability Publication Date: 4/13/2016

Reference Information

CVE: CVE-2016-3068, CVE-2016-3069

RHSA: 2016:0706