How to handle malicious queries that can crash zoekt webserver? #1092
Unanswered
rajputa-deshaw
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I wanted to ask what is the recommended way to handle malicious queries which can crash the zoekt webserver. An example is a very large query containing "( ( ( ...." repeated several times. Two ways in which this can be handled for our use case are:
Fix 1 involves a lot more work than fix 2 but fix 2 increases the drift between upstream zoekt and our fork.
All reactions