cve-2020-10977
cve-2020-10977 copied to clipboard
UnboundLocalError: local variable 'csrf_token' referenced before assignment

GitLab Community Edition 10.7.3
@dacade i have not tested this on 10.7.3 yet, I will test soon
this is weird, I tested it on 10.7.3 and 11.7.4 and its not working on both even manually
thanks for you test,maybe it does not the vuln.
same issue with 12.8.1
i found a way to work around the issue... define csrf_token as global variable in function login and create_issue
but after this is solved I got a new issue will raise a separate ticket for the same
okay i will test on 12.8.1 too @mksbcisco thanks!