| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
The central doc change is in perlsec.pod. This not only explains
that you can build a perl that doesn't support taint,
but shows how you can check whether your perl supports taint or not.
The other doc changes are mainly to note that taint might not
be supported, and to refer the reader to perlsec for more details.
|
| |
|
|
|
|
|
|
|
|
|
| |
For: https://github.com/Perl/perl5/pull/18201
Committer: Samanta Navarro is now a Perl author.
To keep 'make test_porting' happy: Increment $VERSION in several files.
Regenerate uconfig.h via './perl -Ilib regen/uconfig_h.pl'.
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new perlsecpolicy POD file with detailed descriptions
of the security team's vulnerability remediation workflow and
the criteria used to distinguish security issues from other
types of bugs.
This also switches the team's public contact address to
perl-security@perl.org, and updates the security contact
information shown in github's issue interface.
|
| |
|
| |
|
|
|
|
|
| |
Explain that -T no longer removes '.' from @INC because, since
5.26, '.' isn't in @INC to start with.
|
|
|
|
|
|
|
|
|
| |
Alexandr Savca is now a Perl AUTHOR.
For: RT #133120
Committer: holding off on the corrections to pod/perlartistic.pod until
clarification of change to license text.
|
|
|
|
|
|
|
|
| |
perlsec's section on set-id scripts was written confusingly, with several
half-formed references to the long-ago-deleted suidperl, and with temporal
references that are well out of date. Revise that section, and slightly
expand the perldiag entry for the message about detecting a set-id script.
Add another section to perlsec about sudo. Fixes [perl #74142].
|
|
|
|
| |
[perl #119635]
|
|
|
|
|
|
| |
Also include required headers and report errors on failure.
(Inspired by afoken's post at <http://perlmonks.org/?node_id=1173959>.)
|
| |
|
|
|
|
|
|
| |
Point out that the security-reporting email address now creates an RT
ticket. Also, consolidate this information purely within perlsec.pod, and
make all the other places link to it with L<>.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
For RT #118593, 118595, 118597, 118599.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds support for PERL_PERTURB_KEYS environment variable, which in turn allows one to control
the level of randomization applied to keys() and friends.
When PERL_PERTURB_KEYS is 0 we will not randomize key order at all. The
chance that keys() changes due to an insert will be the same as in
previous perls, basically only when the bucket size is changed.
When PERL_PERTURB_KEYS is 1 we will randomize keys in a non repeatedable
way. The chance that keys() changes due to an insert will be very high.
This is the most secure and default mode.
When PERL_PERTURB_KEYS is 2 we will randomize keys in a repeatedable way.
Repititive runs of the same program should produce the same output every
time. The chance that keys changes due to an insert will be very high.
This patch also makes PERL_HASH_SEED imply a non-default
PERL_PERTURB_KEYS setting. Setting PERL_HASH_SEED=0 (exactly one 0) implies
PERL_PERTURB_KEYS=0 (hash key randomization disabled), settng PERL_HASH_SEED
to any other value, implies PERL_PERTURB_KEYS=2 (deterministic/repeatable
hash key randomization). Specifying PERL_PERTURB_KEYS explicitly to a
different level overrides this behavior.
Includes changes to allow one to compile out various aspects of the
patch. One can compile such that PERL_PERTURB_KEYS is not respected, or
can compile without hash key traversal randomization at all. Note that
support for these modes is incomplete, and currently a few tests will
fail.
Also includes a new subroutine in Hash::Util::hash_traversal_mask()
which can be used to ensure a given hash produces a predictable key
order (assuming the same hash seed is in effect). This sub acts as a
getter and a setter.
NOTE - this patch lacks tests, but I lack tuits to get them done quickly,
so I am pushing this with the hope that others can add them afterwards.
|
| |
|
|
|
|
| |
hash randomization logic
|
| |
|
| |
|
|
|
|
| |
Not doing this can cause hard-to-find bugs.
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch inserts a short paragraph with security contact
information near the top of the "Perl Security" documentation
page. This would seem a likely place someone would look for
such information (rather than INSTALL or perldelta where it
lives today). I've put it at the top, not the bottom
to make it easier to find.
|
| |
|
|
|
|
|
|
| |
From: "John P. Linderman" <jpl@research.att.com>
Message-Id: <200804091232.m39CWVkY33722822@raptor.research.att.com>
p4raw-id: //depot/perl@33664
|
|
|
|
|
| |
5.8.2, that disabled the automatic randomisation of all hashes.
p4raw-id: //depot/perl@32688
|
|
|
|
|
|
| |
From: premchai21@yahoo.com (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-31258-1157609470-1994.40293-75-0@perl.org>
p4raw-id: //depot/perl@28800
|
|
|
|
|
| |
Message-ID: <20060801124336.GM21381@localhost.localdomain>
p4raw-id: //depot/perl@28644
|
|
|
| |
p4raw-id: //depot/perl@27635
|
|
|
| |
p4raw-id: //depot/perl@23619
|
|
|
| |
p4raw-id: //depot/perl@23332
|
|
|
|
|
|
|
|
|
| |
Message-Id: <20040827044447.GA5268@petdance.com>
add tests and documentation to the effect that ($tainted ? $a : $b)
doesn't necessarily return a tainted value. Also tidy the markup in
perldoc.pod
p4raw-id: //depot/perl@23253
|
|
|
|
|
| |
Message-Id: <E1AXOFT-0007DE-7q@draco.cus.cam.ac.uk>
p4raw-id: //depot/perl@21942
|
|
|
|
|
| |
Message-ID: <3FC7CF51.7060804@stason.org>
p4raw-id: //depot/perl@21799
|
|
|
| |
p4raw-id: //depot/perl@20242
|
|
|
| |
p4raw-id: //depot/perl@20137
|
|
|
| |
p4raw-id: //depot/perl@19866
|
|
|
|
|
| |
[perl #22371] Algorimic Complexity Attack on Perl 5.6.1, 5.8.0
p4raw-id: //depot/perl@19854
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes 18219, 18236, 18242-3, 18247-8,
18253-5, 18257, 18273-6
p4raw-id: //depot/perl@18280
p4raw-branched: from //depot/maint-5.8/perl@18279 'branch in'
t/op/lc_user.t
p4raw-integrated: from //depot/maint-5.8/perl@18279 'copy in'
lib/File/Copy.pm (@17645..) lib/utf8_heavy.pl pod/perlsec.pod
(@18080..) hints/irix_6.sh (@18173..) t/uni/tr_utf8.t
(@18197..) pod/perlunicode.pod (@18242..) t/op/pat.t (@18248..)
t/op/split.t (@18274..) 'edit in' pod/perlguts.pod (@18242..)
'merge in' pp.c (@18126..) MANIFEST (@18234..)
p4raw-integrated: from //depot/maint-5.8/perl@18254 'merge in'
pod/perldiag.pod (@18234..)
|
|
|
|
|
|
| |
Message-ID: <m3heibs0vp.fsf@cs839290-a.mtth.phub.net.cable.rogers.com>
missed patch fragment from Change #17676
p4raw-id: //depot/perl@17720
|
|
|
| |
p4raw-id: //depot/perl@15876
|
|
|
|
|
| |
symbolic sub refs not being checked for taint.
p4raw-id: //depot/perl@15875
|
|
|
|
|
| |
Message-Id: <200203042014.g24KEjP08407@ventrue.corp.yahoo.com>
p4raw-id: //depot/perl@15021
|
|
|
|
|
| |
Message-ID: <m3d6yuvnwr.fsf@cs839290-a.mtth.phub.net.cable.rogers.com>
p4raw-id: //depot/perl@14853
|