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

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


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.