Closed rkleemann closed 10 years ago
Merged, thanks!
Is it documented somewhere that $ENV{ENV} is insecure? Is it a new thing that came after my creation of the tests?
From perlsec.pod, http://search.cpan.org/~rjbs/perl-5.20.0/pod/perlsec.pod:
The PATH isn't the only environment variable which can cause problems. Because some shells may use the variables IFS, CDPATH, ENV, and BASH_ENV, Perl checks that those are either empty or untainted when starting subprocesses. You may wish to add something like this to your setid and taint-checking scripts.
delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}; # Make %ENV safer
Thanks for catching, because I don't know how it is that I've never had ENV in the list to delete.
Any reason we should not also delete BASH_ENV while we're at it?
I would say BASH_ENV
should be added to the list.
September 2014 and this distribution still fails to install from CPAN. Is this distribution abandoned?
@petdance bump
No, this distro is not abandoned.
On 19/06/15 16:29, Andy Lester wrote:
No, this distro is not abandoned.
Good, glad to hear it. Would you please push the patched copy to CPAN since it not installing without force?
Regards
Insecure $ENV{ENV} while running with -T switch at t/Util.pm line 325.