SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Taint-Runtime rpm build for : OpenSuSE. For other distributions click perl-Taint-Runtime.

Name : perl-Taint-Runtime
Version : 0.30.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 150600.1.1 Date : 2024-07-29 21:56:13
Group : Unspecified Source RPM : perl-Taint-Runtime-0.30.0-150600.1.1.src.rpm
Size : 0.04 MB
Packager : https://www_suse_com/
Summary : Runtime enable taint checking
Description :
First - you probably shouldn\'t use this module to control taint. You should
probably use the -T switch on the commandline instead. There are a somewhat
limited number of legitimate use cases where you should use this module
instead of the -T switch. Unless you have a specific and good reason for
not using the -T option, you should use the -T option.

Taint is a good thing. However, few people (that I work with or talk to or
discuss items with) use taint even though they should. The goal of this
module isn\'t to use taint less, but to actually encourage its use more.
This module aims to make using taint as painless as possible (This can be
an argument against it - often implementation of security implies pain - so
taking away pain might lessen security - sort of).

In general - the more secure your script needs to be - the earlier on in
your program that tainting should be enabled. For most setuid scripts, you
should enable taint by using the -T switch. Without doing so you allow for
a non-root user to override AATTINC which allows for them to put their own
module in the place of trusted modules. This is bad. This is very bad. Use
the -T switch.

There are some common places where this module may be useful, and where
most people don\'t use it. One such place is in a web server. The -T switch
removes PERL5LIB and PERLLIB and \'.\' from AATTINC (or remove them before they
can be added). This makes sense under setuid. The use of the -T switch in a
CGI environment may cause a bit of a headache. For new development, CGI
scripts it may be possible to use the -T switch and for mod_perl
environments there is the PerlTaint variable. Both of these methods will
enable taint and from that point on development should be done with taint.

However, many (possibly most) perl web server implentations add their own
paths to the PERL5LIB. All CGI\'s and mod_perl scripts can then have access.
Using the -T switch throws a wrench into the works as suddenly PERL5LIB
disappears (mod_perl can easily have the extra directories added again
using < perl>push AATTINC, \'/our/lib/dir\';< /perl>). The company I work for has
200 plus user visible scripts mixed with some mod_perl. Currently none of
the scripts use taint. We would like for them all to, but it is not
feasible to make the change all at once. Taint::Runtime allows for moving
legacy scripts over one at a time.

Again, if you are using setuid - don\'t use this script.

If you are not using setuid and have reasons not to use the -T and are
using this module, make sure that taint is enabled before processing any
user data. Also remember that BECAUSE THE -T SWITCH WAS NOT USED %ENV IS
INITIALLY NOT MARKED AS TAINTED. Call taint_env() to mark it as tainted
(especially important in CGI scripts which all read from
$ENV{\'QUERY_STRING\'}).

If you are not using the -T switch, you most likely should use the
following at the very top of your script:



use strict;
use Taint::Runtime qw(enable taint_env);
taint_env();

Though this module allows for you to turn taint off - you probably
shouldn\'t. This module is more for you to turn taint on - and once it is on
it probably ought to stay on.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15_SP6/x86_64

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Taint-Runtime-0.30.0-150600.1.1.x86_64.rpm
     

Provides :
perl(Taint::Runtime)
perl-Taint-Runtime
perl-Taint-Runtime(x86-64)

Requires :
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.34)(64bit)
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Taint
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Taint/Runtime.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Taint/is_taint_bench.pl
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Taint
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Taint/Runtime
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Taint/Runtime/Runtime.so
/usr/share/doc/packages/perl-Taint-Runtime
/usr/share/doc/packages/perl-Taint-Runtime/Changes
/usr/share/doc/packages/perl-Taint-Runtime/README
/usr/share/man/man3/Taint::Runtime.3pm.gz

 
ICM