FreeBSD : p5-PathTools -- File::Spec::canonpath loses taint (333f655a-b93a-11e5-9efa-5453ed2e2b49)

high Nessus Plugin ID 87885

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Ricardo Signes reports :

Beginning in PathTools 3.47 and/or perl 5.20.0, the File::Spec::canonpath() routine returned untained strings even if passed tainted input. This defect undermines the guarantee of taint propagation, which is sometimes used to ensure that unvalidated user input does not reach sensitive code.

This defect was found and reported by David Golden of MongoDB.

Solution

Update the affected packages.

See Also

https://rt.perl.org/Public/Bug/Display.html?id=126862

http://www.nessus.org/u?3876e4bf

Plugin Details

Severity: High

ID: 87885

File Name: freebsd_pkg_333f655ab93a11e59efa5453ed2e2b49.nasl

Version: 1.6

Type: local

Published: 1/13/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: High

Base Score: 7.3

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

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:p5-pathtools, p-cpe:/a:freebsd:freebsd:perl5, p-cpe:/a:freebsd:freebsd:perl5-devel, p-cpe:/a:freebsd:freebsd:perl5.20, p-cpe:/a:freebsd:freebsd:perl5.22

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

Patch Publication Date: 1/12/2016

Vulnerability Publication Date: 1/11/2016

Reference Information

CVE: CVE-2015-8607