Graphql-hive graphql-modules
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in graphql-modules
GraphQL Modules is a toolset of libraries and guidelines dedicated to create reusable, maintainable, testable and extendable modules out of your GraphQL server. From 2.2.1 to before 2.4.1 and 3.1.1, when 2 or more parallel requests are made which trigger the same service, the context of the requests is mixed up in the service when the context is injected via @ExecutionContext(). ExecutionContext is often used to pass authentication tokens from incoming requests to services loading data from backend APIs. This vulnerability is fixed in 2.4.1 and 3.1.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.2.1, < 2.4.1
- >= 3.0.0, < 3.1.1
Fixed in 2.4.1, 3.1.1
Mitigation
Upgrade graphql-modules to 2.4.1 or 3.1.1 or later.
References
- Vendor advisory github.com/graphql-hive/graphql-modules/securi…
- Patch github.com/graphql-hive/graphql-modules/pull/2…
- Release notes github.com/graphql-hive/graphql-modules/releas…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.