Skip to content

Large bounded quantifier generates single-character attack strings  #1310

@nisbet-hubbard

Description

@nisbet-hubbard

What is the problem?

Using the GUI at Devina.io (as the Playground appears to be down), a regex with large bound quantifiers such as [a-z0-9]{2000,} currently generates artificial attack strings like '00000000' + '00000000000000000000000000000'.repeat(29) + '000000000000000000000000000' + '0000000'.repeat(27) or '00000'.repeat(352) + '000000000000000000000000000000000' and gets reported as polynomial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions