Skip to content

Comments

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

Closed
bbakerman wants to merge 2 commits into17.xfrom
stable_fix_on_17x_of_pr_2892
Closed

17.x port - Stop DOS attacks by making the lexer stop early on evil input#2901
bbakerman wants to merge 2 commits into17.xfrom
stable_fix_on_17x_of_pr_2892

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.

1 participant