Inefficient regular expression complexity of lowercase()
and uppercase()
regex could lead to a denial of service attack. With a formed payload 'a' + 'a'.repeat(i) + 'A'
, only 32 characters payload could take 29443 ms time execution when testing lowercase()
. The same issue happens with uppercase()
.
v1.5.1
huntr.dev report Regular Expression Denial of Service (ReDoS) and Catastrophic Backtracking
If you have any questions or comments about this advisory: * Open an issue in v8n issues list * Email us at brunodev02221@gmail.com
{ "nvd_published_at": "2022-08-02T20:15:00Z", "github_reviewed_at": "2022-10-07T07:33:44Z", "github_reviewed": true, "severity": "HIGH", "cwe_ids": [ "CWE-1333", "CWE-400" ] }