History log of /openbsd-current/gnu/usr.bin/perl/lib/perl5db.pl
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.29 14-May-2024 afresh1

Apply local patches - perl-5.38.2

ok gkoehler@
Commit and we'll fix fallout bluhm@
Right away, please deraadt@


# 1.28 14-May-2024 afresh1

Fix merge issues, remove excess files - match perl-5.38.2 dist

ok gkoehler@
Commit and we'll fix fallout bluhm@
Right away, please deraadt@


Revision tags: OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.27 15-Feb-2023 afresh1

Apply local patches - perl-5.36.0

OK bluhm@
a good time naddy@


# 1.26 15-Feb-2023 afresh1

Fix merge issues, remove excess files - match perl-5.36.0 dist

OK bluhm@
a good time naddy@


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.25 23-Jun-2021 espie

help the debugger look in ports for external parts like PadWalker
and Readline.

feedback and okay afresh1@


Revision tags: OPENBSD_6_9_BASE
# 1.24 01-Mar-2021 afresh1

Fix merge issues, remove excess files - match perl-5.32.1 dist

OK sthen@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.23 30-Dec-2019 afresh1

Fix merge issues, remove excess files - match perl-5.30.1 dist

Timing is good deraadt@, OK sthen@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.22 13-Feb-2019 afresh1

Fix merge issues, remove excess files - match perl-5.28.1 dist

looking good sthen@, Great! bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 05-Feb-2017 afresh1

Fix merge issues, remove excess files - match perl-5.24.1 dist


Revision tags: OPENBSD_6_0_BASE
# 1.20 25-Jul-2016 afresh1

Patch perl CVE-2016-1238

The problem relates to Perl 5 ("perl") loading modules from the
includes directory array ("@INC") in which the last element is the
current directory ("."). That means that, when "perl" wants to
load a module (during first compilation or during lazy loading of
a module in run-time), perl will look for the module in the current
directory at the end, since '.' is the last include directory in
its array of include directories to seek. The issue is with requiring
libraries that are in "." but are not otherwise installed.

The major problem with this behavior is that it unexpectedly puts
a user at risk whenever they execute any Perl scripts from a directory
that is writable by other accounts on the system. For instance, if
a user is logged in as root and changes directory into /tmp or an
account's home directory, it is possible to now run any shell
commands that are written in C, Python or Ruby without fear.

The same isn't true for any shell commands that are written in Perl,
since a significant proportion of Perl scripts will execute code
in the current working directory whenever they are run. For example,
if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm,
and then I log in as root, change directory to /tmp, and run "perldoc
perlrun", it will execute the code they have placed in the file.


ok deraadt@


# 1.19 03-Jul-2016 afresh1

Update to perl 5.20.3

OK bluhm@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 17-Nov-2014 afresh1

branches: 1.18.4; 1.18.6;
Fix merge conflicts, remove extra files, match upstream perl-5.20.1

ok deraadt@ sthen@ espie@ miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 24-Mar-2014 afresh1

Merge perl-5.18.2 plus local patches, remove old files

OK espie@ sthen@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 25-Mar-2013 sthen

merge/resolve conflicts
(some more to do after this one)


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 24-Sep-2010 millert

merge in perl 5.12.2 plus local changes


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 13-Oct-2009 millert

Merge in some local changes that got lost.


# 1.13 12-Oct-2009 millert

Merge in perl 5.10.1


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.12 29-Sep-2008 millert

fix conflicts and merge in local changes to perl 5.10.0


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 28-Mar-2006 millert

merge in perl 5.8.8


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 15-Jan-2005 millert

sync in-tree perl with 5.8.6


Revision tags: OPENBSD_3_6_BASE
# 1.9 09-Aug-2004 millert

merge 5.8.5 into HEAD
remove now-unused files
crank libperl shared library major number
update Makefile.bsd-wrapper
tweak openbsd hints file for arm and m68k


# 1.8 07-Apr-2004 millert

merge local changes into perl-5.8.3


Revision tags: OPENBSD_3_5_BASE
# 1.7 03-Dec-2003 millert

Resolve conflicts for perl 5.8.2, remove old files, and add OpenBSD-specific scaffolding


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.6 27-Oct-2002 millert

Resolve conflicts, remove old files, merge local changes


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.5 24-May-2001 millert

merge in perl 5.6.1 with our local changes


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 06-Apr-2000 millert

perl-5.6.0 + local changes


Revision tags: OPENBSD_2_6_BASE
# 1.3 29-Apr-1999 millert

perl5.005_03 (stock)


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 30-Nov-1997 millert

perl 5.004_04


# 1.1 19-Aug-1996 downsj

branches: 1.1.1;
Initial revision


# 1.27 15-Feb-2023 afresh1

Apply local patches - perl-5.36.0

OK bluhm@
a good time naddy@


# 1.26 15-Feb-2023 afresh1

Fix merge issues, remove excess files - match perl-5.36.0 dist

OK bluhm@
a good time naddy@


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.25 23-Jun-2021 espie

help the debugger look in ports for external parts like PadWalker
and Readline.

feedback and okay afresh1@


Revision tags: OPENBSD_6_9_BASE
# 1.24 01-Mar-2021 afresh1

Fix merge issues, remove excess files - match perl-5.32.1 dist

OK sthen@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.23 30-Dec-2019 afresh1

Fix merge issues, remove excess files - match perl-5.30.1 dist

Timing is good deraadt@, OK sthen@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.22 13-Feb-2019 afresh1

Fix merge issues, remove excess files - match perl-5.28.1 dist

looking good sthen@, Great! bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 05-Feb-2017 afresh1

Fix merge issues, remove excess files - match perl-5.24.1 dist


Revision tags: OPENBSD_6_0_BASE
# 1.20 25-Jul-2016 afresh1

Patch perl CVE-2016-1238

The problem relates to Perl 5 ("perl") loading modules from the
includes directory array ("@INC") in which the last element is the
current directory ("."). That means that, when "perl" wants to
load a module (during first compilation or during lazy loading of
a module in run-time), perl will look for the module in the current
directory at the end, since '.' is the last include directory in
its array of include directories to seek. The issue is with requiring
libraries that are in "." but are not otherwise installed.

The major problem with this behavior is that it unexpectedly puts
a user at risk whenever they execute any Perl scripts from a directory
that is writable by other accounts on the system. For instance, if
a user is logged in as root and changes directory into /tmp or an
account's home directory, it is possible to now run any shell
commands that are written in C, Python or Ruby without fear.

The same isn't true for any shell commands that are written in Perl,
since a significant proportion of Perl scripts will execute code
in the current working directory whenever they are run. For example,
if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm,
and then I log in as root, change directory to /tmp, and run "perldoc
perlrun", it will execute the code they have placed in the file.


ok deraadt@


# 1.19 03-Jul-2016 afresh1

Update to perl 5.20.3

OK bluhm@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 17-Nov-2014 afresh1

branches: 1.18.4; 1.18.6;
Fix merge conflicts, remove extra files, match upstream perl-5.20.1

ok deraadt@ sthen@ espie@ miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 24-Mar-2014 afresh1

Merge perl-5.18.2 plus local patches, remove old files

OK espie@ sthen@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 25-Mar-2013 sthen

merge/resolve conflicts
(some more to do after this one)


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 24-Sep-2010 millert

merge in perl 5.12.2 plus local changes


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 13-Oct-2009 millert

Merge in some local changes that got lost.


# 1.13 12-Oct-2009 millert

Merge in perl 5.10.1


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.12 29-Sep-2008 millert

fix conflicts and merge in local changes to perl 5.10.0


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 28-Mar-2006 millert

merge in perl 5.8.8


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 15-Jan-2005 millert

sync in-tree perl with 5.8.6


Revision tags: OPENBSD_3_6_BASE
# 1.9 09-Aug-2004 millert

merge 5.8.5 into HEAD
remove now-unused files
crank libperl shared library major number
update Makefile.bsd-wrapper
tweak openbsd hints file for arm and m68k


# 1.8 07-Apr-2004 millert

merge local changes into perl-5.8.3


Revision tags: OPENBSD_3_5_BASE
# 1.7 03-Dec-2003 millert

Resolve conflicts for perl 5.8.2, remove old files, and add OpenBSD-specific scaffolding


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.6 27-Oct-2002 millert

Resolve conflicts, remove old files, merge local changes


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.5 24-May-2001 millert

merge in perl 5.6.1 with our local changes


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 06-Apr-2000 millert

perl-5.6.0 + local changes


Revision tags: OPENBSD_2_6_BASE
# 1.3 29-Apr-1999 millert

perl5.005_03 (stock)


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 30-Nov-1997 millert

perl 5.004_04


# 1.1 19-Aug-1996 downsj

branches: 1.1.1;
Initial revision


# 1.25 23-Jun-2021 espie

help the debugger look in ports for external parts like PadWalker
and Readline.

feedback and okay afresh1@


Revision tags: OPENBSD_6_9_BASE
# 1.24 01-Mar-2021 afresh1

Fix merge issues, remove excess files - match perl-5.32.1 dist

OK sthen@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.23 30-Dec-2019 afresh1

Fix merge issues, remove excess files - match perl-5.30.1 dist

Timing is good deraadt@, OK sthen@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.22 13-Feb-2019 afresh1

Fix merge issues, remove excess files - match perl-5.28.1 dist

looking good sthen@, Great! bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 05-Feb-2017 afresh1

Fix merge issues, remove excess files - match perl-5.24.1 dist


Revision tags: OPENBSD_6_0_BASE
# 1.20 25-Jul-2016 afresh1

Patch perl CVE-2016-1238

The problem relates to Perl 5 ("perl") loading modules from the
includes directory array ("@INC") in which the last element is the
current directory ("."). That means that, when "perl" wants to
load a module (during first compilation or during lazy loading of
a module in run-time), perl will look for the module in the current
directory at the end, since '.' is the last include directory in
its array of include directories to seek. The issue is with requiring
libraries that are in "." but are not otherwise installed.

The major problem with this behavior is that it unexpectedly puts
a user at risk whenever they execute any Perl scripts from a directory
that is writable by other accounts on the system. For instance, if
a user is logged in as root and changes directory into /tmp or an
account's home directory, it is possible to now run any shell
commands that are written in C, Python or Ruby without fear.

The same isn't true for any shell commands that are written in Perl,
since a significant proportion of Perl scripts will execute code
in the current working directory whenever they are run. For example,
if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm,
and then I log in as root, change directory to /tmp, and run "perldoc
perlrun", it will execute the code they have placed in the file.


ok deraadt@


# 1.19 03-Jul-2016 afresh1

Update to perl 5.20.3

OK bluhm@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 17-Nov-2014 afresh1

branches: 1.18.4; 1.18.6;
Fix merge conflicts, remove extra files, match upstream perl-5.20.1

ok deraadt@ sthen@ espie@ miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 24-Mar-2014 afresh1

Merge perl-5.18.2 plus local patches, remove old files

OK espie@ sthen@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 25-Mar-2013 sthen

merge/resolve conflicts
(some more to do after this one)


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 24-Sep-2010 millert

merge in perl 5.12.2 plus local changes


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 13-Oct-2009 millert

Merge in some local changes that got lost.


# 1.13 12-Oct-2009 millert

Merge in perl 5.10.1


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.12 29-Sep-2008 millert

fix conflicts and merge in local changes to perl 5.10.0


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 28-Mar-2006 millert

merge in perl 5.8.8


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 15-Jan-2005 millert

sync in-tree perl with 5.8.6


Revision tags: OPENBSD_3_6_BASE
# 1.9 09-Aug-2004 millert

merge 5.8.5 into HEAD
remove now-unused files
crank libperl shared library major number
update Makefile.bsd-wrapper
tweak openbsd hints file for arm and m68k


# 1.8 07-Apr-2004 millert

merge local changes into perl-5.8.3


Revision tags: OPENBSD_3_5_BASE
# 1.7 03-Dec-2003 millert

Resolve conflicts for perl 5.8.2, remove old files, and add OpenBSD-specific scaffolding


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.6 27-Oct-2002 millert

Resolve conflicts, remove old files, merge local changes


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.5 24-May-2001 millert

merge in perl 5.6.1 with our local changes


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 06-Apr-2000 millert

perl-5.6.0 + local changes


Revision tags: OPENBSD_2_6_BASE
# 1.3 29-Apr-1999 millert

perl5.005_03 (stock)


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 30-Nov-1997 millert

perl 5.004_04


# 1.1 19-Aug-1996 downsj

branches: 1.1.1;
Initial revision


# 1.24 01-Mar-2021 afresh1

Fix merge issues, remove excess files - match perl-5.32.1 dist

OK sthen@


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.23 30-Dec-2019 afresh1

Fix merge issues, remove excess files - match perl-5.30.1 dist

Timing is good deraadt@, OK sthen@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.22 13-Feb-2019 afresh1

Fix merge issues, remove excess files - match perl-5.28.1 dist

looking good sthen@, Great! bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 05-Feb-2017 afresh1

Fix merge issues, remove excess files - match perl-5.24.1 dist


Revision tags: OPENBSD_6_0_BASE
# 1.20 25-Jul-2016 afresh1

Patch perl CVE-2016-1238

The problem relates to Perl 5 ("perl") loading modules from the
includes directory array ("@INC") in which the last element is the
current directory ("."). That means that, when "perl" wants to
load a module (during first compilation or during lazy loading of
a module in run-time), perl will look for the module in the current
directory at the end, since '.' is the last include directory in
its array of include directories to seek. The issue is with requiring
libraries that are in "." but are not otherwise installed.

The major problem with this behavior is that it unexpectedly puts
a user at risk whenever they execute any Perl scripts from a directory
that is writable by other accounts on the system. For instance, if
a user is logged in as root and changes directory into /tmp or an
account's home directory, it is possible to now run any shell
commands that are written in C, Python or Ruby without fear.

The same isn't true for any shell commands that are written in Perl,
since a significant proportion of Perl scripts will execute code
in the current working directory whenever they are run. For example,
if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm,
and then I log in as root, change directory to /tmp, and run "perldoc
perlrun", it will execute the code they have placed in the file.


ok deraadt@


# 1.19 03-Jul-2016 afresh1

Update to perl 5.20.3

OK bluhm@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 17-Nov-2014 afresh1

branches: 1.18.4; 1.18.6;
Fix merge conflicts, remove extra files, match upstream perl-5.20.1

ok deraadt@ sthen@ espie@ miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 24-Mar-2014 afresh1

Merge perl-5.18.2 plus local patches, remove old files

OK espie@ sthen@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 25-Mar-2013 sthen

merge/resolve conflicts
(some more to do after this one)


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 24-Sep-2010 millert

merge in perl 5.12.2 plus local changes


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 13-Oct-2009 millert

Merge in some local changes that got lost.


# 1.13 12-Oct-2009 millert

Merge in perl 5.10.1


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.12 29-Sep-2008 millert

fix conflicts and merge in local changes to perl 5.10.0


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 28-Mar-2006 millert

merge in perl 5.8.8


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 15-Jan-2005 millert

sync in-tree perl with 5.8.6


Revision tags: OPENBSD_3_6_BASE
# 1.9 09-Aug-2004 millert

merge 5.8.5 into HEAD
remove now-unused files
crank libperl shared library major number
update Makefile.bsd-wrapper
tweak openbsd hints file for arm and m68k


# 1.8 07-Apr-2004 millert

merge local changes into perl-5.8.3


Revision tags: OPENBSD_3_5_BASE
# 1.7 03-Dec-2003 millert

Resolve conflicts for perl 5.8.2, remove old files, and add OpenBSD-specific scaffolding


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.6 27-Oct-2002 millert

Resolve conflicts, remove old files, merge local changes


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.5 24-May-2001 millert

merge in perl 5.6.1 with our local changes


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 06-Apr-2000 millert

perl-5.6.0 + local changes


Revision tags: OPENBSD_2_6_BASE
# 1.3 29-Apr-1999 millert

perl5.005_03 (stock)


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 30-Nov-1997 millert

perl 5.004_04


# 1.1 19-Aug-1996 downsj

branches: 1.1.1;
Initial revision


# 1.23 30-Dec-2019 afresh1

Fix merge issues, remove excess files - match perl-5.30.1 dist

Timing is good deraadt@, OK sthen@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.22 13-Feb-2019 afresh1

Fix merge issues, remove excess files - match perl-5.28.1 dist

looking good sthen@, Great! bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 05-Feb-2017 afresh1

Fix merge issues, remove excess files - match perl-5.24.1 dist


Revision tags: OPENBSD_6_0_BASE
# 1.20 25-Jul-2016 afresh1

Patch perl CVE-2016-1238

The problem relates to Perl 5 ("perl") loading modules from the
includes directory array ("@INC") in which the last element is the
current directory ("."). That means that, when "perl" wants to
load a module (during first compilation or during lazy loading of
a module in run-time), perl will look for the module in the current
directory at the end, since '.' is the last include directory in
its array of include directories to seek. The issue is with requiring
libraries that are in "." but are not otherwise installed.

The major problem with this behavior is that it unexpectedly puts
a user at risk whenever they execute any Perl scripts from a directory
that is writable by other accounts on the system. For instance, if
a user is logged in as root and changes directory into /tmp or an
account's home directory, it is possible to now run any shell
commands that are written in C, Python or Ruby without fear.

The same isn't true for any shell commands that are written in Perl,
since a significant proportion of Perl scripts will execute code
in the current working directory whenever they are run. For example,
if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm,
and then I log in as root, change directory to /tmp, and run "perldoc
perlrun", it will execute the code they have placed in the file.


ok deraadt@


# 1.19 03-Jul-2016 afresh1

Update to perl 5.20.3

OK bluhm@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 17-Nov-2014 afresh1

branches: 1.18.4; 1.18.6;
Fix merge conflicts, remove extra files, match upstream perl-5.20.1

ok deraadt@ sthen@ espie@ miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 24-Mar-2014 afresh1

Merge perl-5.18.2 plus local patches, remove old files

OK espie@ sthen@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 25-Mar-2013 sthen

merge/resolve conflicts
(some more to do after this one)


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 24-Sep-2010 millert

merge in perl 5.12.2 plus local changes


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 13-Oct-2009 millert

Merge in some local changes that got lost.


# 1.13 12-Oct-2009 millert

Merge in perl 5.10.1


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.12 29-Sep-2008 millert

fix conflicts and merge in local changes to perl 5.10.0


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 28-Mar-2006 millert

merge in perl 5.8.8


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 15-Jan-2005 millert

sync in-tree perl with 5.8.6


Revision tags: OPENBSD_3_6_BASE
# 1.9 09-Aug-2004 millert

merge 5.8.5 into HEAD
remove now-unused files
crank libperl shared library major number
update Makefile.bsd-wrapper
tweak openbsd hints file for arm and m68k


# 1.8 07-Apr-2004 millert

merge local changes into perl-5.8.3


Revision tags: OPENBSD_3_5_BASE
# 1.7 03-Dec-2003 millert

Resolve conflicts for perl 5.8.2, remove old files, and add OpenBSD-specific scaffolding


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.6 27-Oct-2002 millert

Resolve conflicts, remove old files, merge local changes


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.5 24-May-2001 millert

merge in perl 5.6.1 with our local changes


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 06-Apr-2000 millert

perl-5.6.0 + local changes


Revision tags: OPENBSD_2_6_BASE
# 1.3 29-Apr-1999 millert

perl5.005_03 (stock)


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 30-Nov-1997 millert

perl 5.004_04


# 1.1 19-Aug-1996 downsj

branches: 1.1.1;
Initial revision


# 1.22 13-Feb-2019 afresh1

Fix merge issues, remove excess files - match perl-5.28.1 dist

looking good sthen@, Great! bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 05-Feb-2017 afresh1

Fix merge issues, remove excess files - match perl-5.24.1 dist


Revision tags: OPENBSD_6_0_BASE
# 1.20 25-Jul-2016 afresh1

Patch perl CVE-2016-1238

The problem relates to Perl 5 ("perl") loading modules from the
includes directory array ("@INC") in which the last element is the
current directory ("."). That means that, when "perl" wants to
load a module (during first compilation or during lazy loading of
a module in run-time), perl will look for the module in the current
directory at the end, since '.' is the last include directory in
its array of include directories to seek. The issue is with requiring
libraries that are in "." but are not otherwise installed.

The major problem with this behavior is that it unexpectedly puts
a user at risk whenever they execute any Perl scripts from a directory
that is writable by other accounts on the system. For instance, if
a user is logged in as root and changes directory into /tmp or an
account's home directory, it is possible to now run any shell
commands that are written in C, Python or Ruby without fear.

The same isn't true for any shell commands that are written in Perl,
since a significant proportion of Perl scripts will execute code
in the current working directory whenever they are run. For example,
if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm,
and then I log in as root, change directory to /tmp, and run "perldoc
perlrun", it will execute the code they have placed in the file.


ok deraadt@


# 1.19 03-Jul-2016 afresh1

Update to perl 5.20.3

OK bluhm@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 17-Nov-2014 afresh1

branches: 1.18.4; 1.18.6;
Fix merge conflicts, remove extra files, match upstream perl-5.20.1

ok deraadt@ sthen@ espie@ miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 24-Mar-2014 afresh1

Merge perl-5.18.2 plus local patches, remove old files

OK espie@ sthen@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 25-Mar-2013 sthen

merge/resolve conflicts
(some more to do after this one)


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 24-Sep-2010 millert

merge in perl 5.12.2 plus local changes


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 13-Oct-2009 millert

Merge in some local changes that got lost.


# 1.13 12-Oct-2009 millert

Merge in perl 5.10.1


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.12 29-Sep-2008 millert

fix conflicts and merge in local changes to perl 5.10.0


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 28-Mar-2006 millert

merge in perl 5.8.8


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 15-Jan-2005 millert

sync in-tree perl with 5.8.6


Revision tags: OPENBSD_3_6_BASE
# 1.9 09-Aug-2004 millert

merge 5.8.5 into HEAD
remove now-unused files
crank libperl shared library major number
update Makefile.bsd-wrapper
tweak openbsd hints file for arm and m68k


# 1.8 07-Apr-2004 millert

merge local changes into perl-5.8.3


Revision tags: OPENBSD_3_5_BASE
# 1.7 03-Dec-2003 millert

Resolve conflicts for perl 5.8.2, remove old files, and add OpenBSD-specific scaffolding


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.6 27-Oct-2002 millert

Resolve conflicts, remove old files, merge local changes


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.5 24-May-2001 millert

merge in perl 5.6.1 with our local changes


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 06-Apr-2000 millert

perl-5.6.0 + local changes


Revision tags: OPENBSD_2_6_BASE
# 1.3 29-Apr-1999 millert

perl5.005_03 (stock)


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 30-Nov-1997 millert

perl 5.004_04


# 1.1 19-Aug-1996 downsj

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.21 05-Feb-2017 afresh1

Fix merge issues, remove excess files - match perl-5.24.1 dist


Revision tags: OPENBSD_6_0_BASE
# 1.20 25-Jul-2016 afresh1

Patch perl CVE-2016-1238

The problem relates to Perl 5 ("perl") loading modules from the
includes directory array ("@INC") in which the last element is the
current directory ("."). That means that, when "perl" wants to
load a module (during first compilation or during lazy loading of
a module in run-time), perl will look for the module in the current
directory at the end, since '.' is the last include directory in
its array of include directories to seek. The issue is with requiring
libraries that are in "." but are not otherwise installed.

The major problem with this behavior is that it unexpectedly puts
a user at risk whenever they execute any Perl scripts from a directory
that is writable by other accounts on the system. For instance, if
a user is logged in as root and changes directory into /tmp or an
account's home directory, it is possible to now run any shell
commands that are written in C, Python or Ruby without fear.

The same isn't true for any shell commands that are written in Perl,
since a significant proportion of Perl scripts will execute code
in the current working directory whenever they are run. For example,
if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm,
and then I log in as root, change directory to /tmp, and run "perldoc
perlrun", it will execute the code they have placed in the file.


ok deraadt@


# 1.19 03-Jul-2016 afresh1

Update to perl 5.20.3

OK bluhm@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.18 17-Nov-2014 afresh1

branches: 1.18.4; 1.18.6;
Fix merge conflicts, remove extra files, match upstream perl-5.20.1

ok deraadt@ sthen@ espie@ miod@


Revision tags: OPENBSD_5_6_BASE
# 1.17 24-Mar-2014 afresh1

Merge perl-5.18.2 plus local patches, remove old files

OK espie@ sthen@ deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.16 25-Mar-2013 sthen

merge/resolve conflicts
(some more to do after this one)


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.15 24-Sep-2010 millert

merge in perl 5.12.2 plus local changes


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.14 13-Oct-2009 millert

Merge in some local changes that got lost.


# 1.13 12-Oct-2009 millert

Merge in perl 5.10.1


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.12 29-Sep-2008 millert

fix conflicts and merge in local changes to perl 5.10.0


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.11 28-Mar-2006 millert

merge in perl 5.8.8


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.10 15-Jan-2005 millert

sync in-tree perl with 5.8.6


Revision tags: OPENBSD_3_6_BASE
# 1.9 09-Aug-2004 millert

merge 5.8.5 into HEAD
remove now-unused files
crank libperl shared library major number
update Makefile.bsd-wrapper
tweak openbsd hints file for arm and m68k


# 1.8 07-Apr-2004 millert

merge local changes into perl-5.8.3


Revision tags: OPENBSD_3_5_BASE
# 1.7 03-Dec-2003 millert

Resolve conflicts for perl 5.8.2, remove old files, and add OpenBSD-specific scaffolding


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.6 27-Oct-2002 millert

Resolve conflicts, remove old files, merge local changes


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.5 24-May-2001 millert

merge in perl 5.6.1 with our local changes


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.4 06-Apr-2000 millert

perl-5.6.0 + local changes


Revision tags: OPENBSD_2_6_BASE
# 1.3 29-Apr-1999 millert

perl5.005_03 (stock)


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 30-Nov-1997 millert

perl 5.004_04


# 1.1 19-Aug-1996 downsj

branches: 1.1.1;
Initial revision