You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regular Expression DoS vulnerability in third-party script #4220
Describe the bug
We are working on the ReDoS problem and detected a vulnerable regex from your code.
Regex \001?\033\\]((?:.|;)*?)(\x07)\002? in link takes forever to match the string "\u001B];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n"
This is because two branches in (?:.|;) can both match the character ;, we suggest you to just remove the later one.
We didn’t create a pull request because we're not sure if these cases are possible to take place in your program, we also do not understand the functionality of the regex as you do. Thank you for your understanding.
changed the title [-]Regular Expression DoS vulnerabilities in third-party scripts[/-][+]Regular Expression DoS vulnerability in third-party scripts[/+]on May 29, 2020
changed the title [-]Regular Expression DoS vulnerability in third-party scripts[/-][+]Regular Expression DoS vulnerability in third-party script[/+]on May 29, 2020
Activity
[-]Regular Expression DoS vulnerabilities in third-party scripts[/-][+]Regular Expression DoS vulnerability in third-party scripts[/+][-]Regular Expression DoS vulnerability in third-party scripts[/-][+]Regular Expression DoS vulnerability in third-party script[/+]stamparm commentedon May 29, 2020
thirdparty/colorama/ansitowin32.py4) Closing this down as invalid. Please do a proper research before raising this kind of issuesstamparm commentedon Jun 1, 2020
More info can be found here
Fixes sqlmapproject#4220