-
Notifications
You must be signed in to change notification settings - Fork 842
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
Infinite recursion on malformed input (parseTypeSystemDefinition) #637
Infinite recursion on malformed input (parseTypeSystemDefinition) #637
Comments
Just FYI, this test case was found with the new Go 1.18 fuzzer ( |
This was assigned CVE-2022-37315. |
@alex-lange @chris-ramon Would you mind taking a look when you have a chance? If needed, let me know where I can help. Looks like the above PR may be the needed fix. (Due to the assigned CVE, my team is getting alerts to patch.) |
@chris-ramon @sogko Are any maintainers available to take a look at this? This CVE is now 2 months old. We can't afford to continue using dependencies with active CVEs. I'd much prefer to avoid dropping this dependency. If there's anything the community can do to help, please shout. |
I apologize for dropping zero-day DoS without consideration... |
|
Fixes graphql-go/graphql#637 Signed-off-by: Tamal Saha <[email protected]>
Fixes graphql-go/graphql#637 Signed-off-by: Tamal Saha <[email protected]>
I found this when scanning sourcegraph/gitserver:4.4.0-rc.1. This is the same fork and commit used by the kubeops project. kubeops/ui-server@59bb7a6 Snyk report is at https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGRAPHQLGOGRAPHQLLANGUAGEPARSER-2964941 and the upstream issue is at graphql-go/graphql#637 Test Plan: CI
I found this when scanning sourcegraph/gitserver:4.4.0-rc.1. This is the same fork and commit used by the kubeops project. kubeops/ui-server@59bb7a6 Snyk report is at https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGRAPHQLGOGRAPHQLLANGUAGEPARSER-2964941 and the upstream issue is at graphql-go/graphql#637 Test Plan: CI
I found this when scanning sourcegraph/gitserver:4.4.0-rc.1. This is the same fork and commit used by the kubeops project. kubeops/ui-server@59bb7a6 Snyk report is at https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGRAPHQLGOGRAPHQLLANGUAGEPARSER-2964941 and the upstream issue is at graphql-go/graphql#637 Test Plan: CI
Simple input
String r
crashes the parser with infinite recursion.The text was updated successfully, but these errors were encountered: