Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17.x port - Stop DOS attacks by making the lexer stop early on evil input #2901

Closed
wants to merge 2 commits into from

Conversation

bbakerman
Copy link
Member

17x port of #2892

…nput

* This stops DOS attacks by making the lexer stop early.

* This stops DOS attacks by making the lexer stop early. Added BadSituationsRunner

* This stops DOS attacks by making the lexer stop early. Added BadSituationsRunner with comments

* This stops DOS attacks by making the lexer stop early. Added per query jvm settings

* This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts

* This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts - tweaks

* This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts - tweaks

* This stops DOS attacks by making the lexer stop early. Added whitespace counts separate from token counts - tweaks

* This stops DOS attacks by making the lexer stop early.Use array instead of map

* This stops DOS attacks by making the lexer stop early.Use array instead of map with comments

* PR feedback - renamed options and added SDL options
# Conflicts:
#	src/main/java/graphql/ParseAndValidate.java
#	src/main/java/graphql/parser/GraphqlAntlrToLanguage.java
#	src/main/java/graphql/parser/Parser.java
#	src/main/java/graphql/parser/ParserOptions.java
#	src/main/java/graphql/schema/idl/SchemaParser.java
#	src/test/groovy/graphql/parser/ParserTest.groovy
@bbakerman bbakerman closed this Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant