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

Critical Nessus Plugin ID 103861

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

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.5

Type: local

Published: 2017/10/17

Updated: 2019/05/13

Dependencies: 12634

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

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

CVSS v3.0

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

Vulnerability Publication Date: 2017/10/05

Reference Information

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