This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test-Harness: don't assume symlink succeeds
[perl5.git] / pod / perl5303delta.pod
CommitLineData
189c2812
SH
1=encoding utf8
2
3=head1 NAME
4
5perl5303delta - what is new for perl v5.30.3
6
7=head1 DESCRIPTION
8
9This document describes differences between the 5.30.2 release and the 5.30.3
10release.
11
12If you are upgrading from an earlier release such as 5.30.1, first read
13L<perl5302delta>, which describes differences between 5.30.1 and 5.30.2.
14
15=head1 Security
16
17=head2 [CVE-2020-10543] Buffer overflow caused by a crafted regular expression
18
19A signed C<size_t> integer overflow in the storage space calculations for
20nested regular expression quantifiers could cause a heap buffer overflow in
21Perl's regular expression compiler that overwrites memory allocated after the
22regular expression storage space with attacker supplied data.
23
24The target system needs a sufficient amount of memory to allocate partial
25expansions of the nested quantifiers prior to the overflow occurring. This
26requirement is unlikely to be met on 64-bit systems.
27
28Discovered by: ManhND of The Tarantula Team, VinCSS (a member of Vingroup).
29
30=head2 [CVE-2020-10878] Integer overflow via malformed bytecode produced by a crafted regular expression
31
32Integer overflows in the calculation of offsets between instructions for the
33regular expression engine could cause corruption of the intermediate language
34state of a compiled regular expression. An attacker could abuse this behaviour
35to insert instructions into the compiled form of a Perl regular expression.
36
37Discovered by: Hugo van der Sanden and Slaven Rezic.
38
39=head2 [CVE-2020-12723] Buffer overflow caused by a crafted regular expression
40
41Recursive calls to C<S_study_chunk()> by Perl's regular expression compiler to
42optimize the intermediate language representation of a regular expression could
43cause corruption of the intermediate language state of a compiled regular
44expression.
45
46Discovered by: Sergey Aleynikov.
47
48=head2 Additional Note
49
50An application written in Perl would only be vulnerable to any of the above
51flaws if it evaluates regular expressions supplied by the attacker. Evaluating
52regular expressions in this fashion is known to be dangerous since the regular
53expression engine does not protect against denial of service attacks in this
54usage scenario.
55
56=head1 Incompatible Changes
57
58There are no changes intentionally incompatible with Perl 5.30.2. If any
59exist, they are bugs, and we request that you submit a report. See
60L</Reporting Bugs> below.
61
62=head1 Modules and Pragmata
63
64=head2 Updated Modules and Pragmata
65
66=over 4
67
68=item *
69
70L<Module::CoreList> has been upgraded from version 5.20200314 to 5.20200601_30.
71
72=back
73
74=head1 Testing
75
76Tests were added and changed to reflect the other additions and changes in this
77release.
78
79=head1 Acknowledgements
80
81Perl 5.30.3 represents approximately 3 months of development since Perl 5.30.2
82and contains approximately 1,100 lines of changes across 42 files from 7
83authors.
84
85Excluding auto-generated files, documentation and release tools, there were
86approximately 350 lines of changes to 8 .pm, .t, .c and .h files.
87
88Perl continues to flourish into its fourth decade thanks to a vibrant community
89of users and developers. The following people are known to have contributed
90the improvements that became Perl 5.30.3:
91
92Chris 'BinGOs' Williams, Hugo van der Sanden, John Lightsey, Karl Williamson,
93Nicolas R., Sawyer X, Steve Hay.
94
95The list above is almost certainly incomplete as it is automatically generated
96from version control history. In particular, it does not include the names of
97the (very much appreciated) contributors who reported issues to the Perl bug
98tracker.
99
100Many of the changes included in this version originated in the CPAN modules
101included in Perl's core. We're grateful to the entire CPAN community for
102helping Perl to flourish.
103
104For a more complete list of all of Perl's historical contributors, please see
105the F<AUTHORS> file in the Perl source distribution.
106
107=head1 Reporting Bugs
108
109If you find what you think is a bug, you might check the perl bug database at
110L<https://github.com/Perl/perl5/issues>. There may also be information at
111L<https://www.perl.org/>, the Perl Home Page.
112
113If you believe you have an unreported bug, please open an issue at
114L<https://github.com/Perl/perl5/issues>. Be sure to trim your bug down to a
115tiny but sufficient test case.
116
117If the bug you are reporting has security implications which make it
118inappropriate to send to a public issue tracker, then see
119L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> for details of how to
120report the issue.
121
122=head1 Give Thanks
123
124If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you
125can do so by running the C<perlthanks> program:
126
127 perlthanks
128
129This will send an email to the Perl 5 Porters list with your show of thanks.
130
131=head1 SEE ALSO
132
133The F<Changes> file for an explanation of how to view exhaustive details on
134what changed.
135
136The F<INSTALL> file for how to build Perl.
137
138The F<README> file for general stuff.
139
140The F<Artistic> and F<Copying> files for copyright information.
141
142=cut