Skip to content

regcomp: infinite loop (perl-5.30.0) #17594

Closed
@lightsey

Description

@lightsey

Description

On May 24, 2019 @Etsukata reported an infinite loop bug to the Perl security contact address. This report was originally tracked as rt.perl.org#134132. After the github migration, it was tracked as Perl/perl5-security#112

The original example regex was:

perl -e 'qr/\p{jg=​:A?\K+​:}/'

The infinite loop this regex caused was not considered to be a vulnerability by the Perl security team and an initial fix for the bug was committed to blead as ac3afc4

This initial fix resulted in significant discussion about it's suitability for a backport to the maintenance branch. Some of this discussion continued in the private issue tracker after the issue was initially resolved.

I don't understand the details of these discussions sufficiently to summarize them, but I'm opening this issue to track any remaining work related to the original Perl/perl5-security#112 report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions