Scientific Linux Security Update : mercurial on SL7.x x86_64 (20170817)

critical Nessus Plugin ID 102676

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

Security Fix(es) :

- A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository.
(CVE-2017-1000115)

- A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Mercurial. This can be exploited to execute shell commands with the privileges of the user running the Mercurial client, for example, when performing a 'checkout' or 'update' action on a sub- repository within a malicious repository or a legitimate repository containing a malicious commit.
(CVE-2017-1000116)

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?2259e551

Plugin Details

Severity: Critical

ID: 102676

File Name: sl_20170817_mercurial_on_SL7_x.nasl

Version: 3.7

Type: local

Agent: unix

Published: 8/22/2017

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:emacs-mercurial, p-cpe:/a:fermilab:scientific_linux:emacs-mercurial-el, p-cpe:/a:fermilab:scientific_linux:mercurial, p-cpe:/a:fermilab:scientific_linux:mercurial-debuginfo, p-cpe:/a:fermilab:scientific_linux:mercurial-hgk, x-cpe:/o:fermilab:scientific_linux

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

Patch Publication Date: 8/17/2017

Vulnerability Publication Date: 10/5/2017

Reference Information

CVE: CVE-2017-1000115, CVE-2017-1000116