| 1 |
.\" -*- mode: troff; coding: utf-8 -*- |
| 2 |
.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) |
| 3 |
.\" |
| 4 |
.\" Standard preamble: |
| 5 |
.\" ======================================================================== |
| 6 |
.de Sp \" Vertical space (when we can't use .PP) |
| 7 |
.if t .sp .5v |
| 8 |
.if n .sp |
| 9 |
.. |
| 10 |
.de Vb \" Begin verbatim text |
| 11 |
.ft CW |
| 12 |
.nf |
| 13 |
.ne \\$1 |
| 14 |
.. |
| 15 |
.de Ve \" End verbatim text |
| 16 |
.ft R |
| 17 |
.fi |
| 18 |
.. |
| 19 |
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. |
| 20 |
.ie n \{\ |
| 21 |
. ds C` "" |
| 22 |
. ds C' "" |
| 23 |
'br\} |
| 24 |
.el\{\ |
| 25 |
. ds C` |
| 26 |
. ds C' |
| 27 |
'br\} |
| 28 |
.\" |
| 29 |
.\" Escape single quotes in literal strings from groff's Unicode transform. |
| 30 |
.ie \n(.g .ds Aq \(aq |
| 31 |
.el .ds Aq ' |
| 32 |
.\" |
| 33 |
.\" If the F register is >0, we'll generate index entries on stderr for |
| 34 |
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
| 35 |
.\" entries marked with X<> in POD. Of course, you'll have to process the |
| 36 |
.\" output yourself in some meaningful fashion. |
| 37 |
.\" |
| 38 |
.\" Avoid warning from groff about undefined register 'F'. |
| 39 |
.de IX |
| 40 |
.. |
| 41 |
.nr rF 0 |
| 42 |
.if \n(.g .if rF .nr rF 1 |
| 43 |
.if (\n(rF:(\n(.g==0)) \{\ |
| 44 |
. if \nF \{\ |
| 45 |
. de IX |
| 46 |
. tm Index:\\$1\t\\n%\t"\\$2" |
| 47 |
.. |
| 48 |
. if !\nF==2 \{\ |
| 49 |
. nr % 0 |
| 50 |
. nr F 2 |
| 51 |
. \} |
| 52 |
. \} |
| 53 |
.\} |
| 54 |
.rr rF |
| 55 |
.\" ======================================================================== |
| 56 |
.\" |
| 57 |
.IX Title "PERL5342DELTA 1" |
| 58 |
.TH PERL5342DELTA 1 2025-11-16 "perl v5.40.1" "Perl Programmers Reference Guide" |
| 59 |
.\" For nroff, turn off justification. Always turn off hyphenation; it makes |
| 60 |
.\" way too many mistakes in technical documents. |
| 61 |
.if n .ad l |
| 62 |
.nh |
| 63 |
.SH NAME |
| 64 |
perl5342delta \- what is new for perl v5.34.2 |
| 65 |
.SH DESCRIPTION |
| 66 |
.IX Header "DESCRIPTION" |
| 67 |
This document describes differences between the 5.34.1 release and the 5.34.2 |
| 68 |
release. |
| 69 |
.PP |
| 70 |
If you are upgrading from an earlier release such as 5.34.0, first read |
| 71 |
perl5341delta, which describes differences between 5.34.0 and 5.34.1. |
| 72 |
.SH Security |
| 73 |
.IX Header "Security" |
| 74 |
This release fixes the following security issues. |
| 75 |
.SS "CVE\-2023\-47038 \- Write past buffer end via illegal user-defined Unicode property" |
| 76 |
.IX Subsection "CVE-2023-47038 - Write past buffer end via illegal user-defined Unicode property" |
| 77 |
This vulnerability was reported directly to the Perl security team by |
| 78 |
Nathan Mills \f(CW\*(C`[email protected]\*(C'\fR. |
| 79 |
.PP |
| 80 |
A crafted regular expression when compiled by perl 5.30.0 through |
| 81 |
5.38.0 can cause a one-byte attacker controlled buffer overflow in a |
| 82 |
heap allocated buffer. |
| 83 |
.SS "CVE\-2023\-47039 \- Perl for Windows binary hijacking vulnerability" |
| 84 |
.IX Subsection "CVE-2023-47039 - Perl for Windows binary hijacking vulnerability" |
| 85 |
This vulnerability was reported to the Intel Product Security Incident |
| 86 |
Response Team (PSIRT) by GitHub user ycdxsb |
| 87 |
<https://github.com/ycdxsb/WindowsPrivilegeEscalation>. PSIRT then |
| 88 |
reported it to the Perl security team. |
| 89 |
.PP |
| 90 |
Perl for Windows relies on the system path environment variable to |
| 91 |
find the shell (\f(CW\*(C`cmd.exe\*(C'\fR). When running an executable which uses |
| 92 |
Windows Perl interpreter, Perl attempts to find and execute \f(CW\*(C`cmd.exe\*(C'\fR |
| 93 |
within the operating system. However, due to path search order issues, |
| 94 |
Perl initially looks for cmd.exe in the current working directory. |
| 95 |
.PP |
| 96 |
An attacker with limited privileges can exploit this behavior by |
| 97 |
placing \f(CW\*(C`cmd.exe\*(C'\fR in locations with weak permissions, such as |
| 98 |
\&\f(CW\*(C`C:\eProgramData\*(C'\fR. By doing so, when an administrator attempts to use |
| 99 |
this executable from these compromised locations, arbitrary code can |
| 100 |
be executed. |
| 101 |
.SH Acknowledgements |
| 102 |
.IX Header "Acknowledgements" |
| 103 |
Perl 5.34.2 represents approximately 1 month of development since Perl |
| 104 |
5.34.1 and contains approximately 3,700 lines of changes across 40 files |
| 105 |
from 4 authors. |
| 106 |
.PP |
| 107 |
Excluding auto-generated files, documentation and release tools, there were |
| 108 |
approximately 2,800 lines of changes to 9 .pm, .t, .c and .h files. |
| 109 |
.PP |
| 110 |
Perl continues to flourish into its fourth decade thanks to a vibrant |
| 111 |
community of users and developers. The following people are known to have |
| 112 |
contributed the improvements that became Perl 5.34.2: |
| 113 |
.PP |
| 114 |
Karl Williamson, Paul Evans, Steve Hay, Tony Cook. |
| 115 |
.PP |
| 116 |
The list above is almost certainly incomplete as it is automatically |
| 117 |
generated from version control history. In particular, it does not include |
| 118 |
the names of the (very much appreciated) contributors who reported issues to |
| 119 |
the Perl bug tracker. |
| 120 |
.PP |
| 121 |
Many of the changes included in this version originated in the CPAN modules |
| 122 |
included in Perl's core. We're grateful to the entire CPAN community for |
| 123 |
helping Perl to flourish. |
| 124 |
.PP |
| 125 |
For a more complete list of all of Perl's historical contributors, please |
| 126 |
see the \fIAUTHORS\fR file in the Perl source distribution. |
| 127 |
.SH "Reporting Bugs" |
| 128 |
.IX Header "Reporting Bugs" |
| 129 |
If you find what you think is a bug, you might check the perl bug database |
| 130 |
at <https://github.com/Perl/perl5/issues>. There may also be information at |
| 131 |
<http://www.perl.org/>, the Perl Home Page. |
| 132 |
.PP |
| 133 |
If you believe you have an unreported bug, please open an issue at |
| 134 |
<https://github.com/Perl/perl5/issues>. Be sure to trim your bug down to a |
| 135 |
tiny but sufficient test case. |
| 136 |
.PP |
| 137 |
If the bug you are reporting has security implications which make it |
| 138 |
inappropriate to send to a public issue tracker, then see |
| 139 |
"SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec |
| 140 |
for details of how to report the issue. |
| 141 |
.SH "Give Thanks" |
| 142 |
.IX Header "Give Thanks" |
| 143 |
If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, |
| 144 |
you can do so by running the \f(CW\*(C`perlthanks\*(C'\fR program: |
| 145 |
.PP |
| 146 |
.Vb 1 |
| 147 |
\& perlthanks |
| 148 |
.Ve |
| 149 |
.PP |
| 150 |
This will send an email to the Perl 5 Porters list with your show of thanks. |
| 151 |
.SH "SEE ALSO" |
| 152 |
.IX Header "SEE ALSO" |
| 153 |
The \fIChanges\fR file for an explanation of how to view exhaustive details on |
| 154 |
what changed. |
| 155 |
.PP |
| 156 |
The \fIINSTALL\fR file for how to build Perl. |
| 157 |
.PP |
| 158 |
The \fIREADME\fR file for general stuff. |
| 159 |
.PP |
| 160 |
The \fIArtistic\fR and \fICopying\fR files for copyright information. |