Subject: | CVE-2016-1238: avoid loading optional modules from default . |
Pod::Perldoc attempts to load various modules optionally, which
with perl's default . at the end of @INC, if a user runs perldoc
in a world-writable directory such as /tmp, an attacker
can create that module under /tmp to run code as the user of
perldoc.
The attached patch avoids two instances of this in Pod::Perldoc by
temporarily removing the default . from the end of @INC.
Also available as a pull request:
https://github.com/mrallen1/Pod-Perldoc/pull/26
Tony