FreeBSD : Mercurial -- multiple vulnerabilities (1d33cdee-7f6b-11e7-a9b5-3debb10a6871)

critical Nessus Plugin ID 102465

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Mercurial Release Notes :

CVE-2017-1000115

Mercurial's symlink auditing was incomplete prior to 4.3, and could be abused to write to files outside the repository.

CVE-2017-1000116

Mercurial was not sanitizing hostnames passed to ssh, allowing shell injection attacks on clients by specifying a hostname starting with
-oProxyCommand. This is also present in Git (CVE-2017-1000117) and Subversion (CVE-2017-9800), so please patch those tools as well if you have them installed.

Solution

Update the affected package.

See Also

http://www.nessus.org/u?425a5664

http://www.nessus.org/u?0f656efa

Plugin Details

Severity: Critical

ID: 102465

File Name: freebsd_pkg_1d33cdee7f6b11e7a9b53debb10a6871.nasl

Version: 3.7

Type: local

Published: 8/14/2017

Updated: 1/4/2021

Supported Sensors: 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:freebsd:freebsd:mercurial, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 8/12/2017

Vulnerability Publication Date: 8/10/2017

Reference Information

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