p5-PathTools -- File::Spec::canonpath loses taint

2016-01-11T00:00:00
ID 333F655A-B93A-11E5-9EFA-5453ED2E2B49
Type freebsd
Reporter FreeBSD
Modified 2016-08-22T00:00:00

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.