FreeBSD : mercurial -- multiple issues (b0628e53-092a-4037-938b-29805a7cd31b)

critical Nessus Plugin ID 103861

Language:

Synopsis

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

Description

mercurial developers reports :

Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks.

Solution

Update the affected package.

See Also

https://www.securityfocus.com/bid/100290

https://security.gentoo.org/glsa/201709-18

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

http://www.nessus.org/u?31d2d2c7

Plugin Details

Severity: Critical

ID: 103861

File Name: freebsd_pkg_b0628e53092a4037938b29805a7cd31b.nasl

Version: 3.6

Type: local

Published: 10/17/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: 10/16/2017

Vulnerability Publication Date: 10/5/2017

Reference Information

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