GraphQL-core: Denial of service via memory leak in aborted validations
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in graphql-core 3.3.1.
GraphQL-core is a Python port of the GraphQL.js reference implementation. From 3.3.0a3 until 3.3.1, validate() reuses a module-level ValidationAbortedError when a document exceeds max_errors. Python appends frames to the reused exception's traceback on every raise, retaining each document, validation context, and error set for the process lifetime. An unauthenticated client can repeatedly submit a small document with more than 100 validation errors to cause unbounded memory growth before query execution, eventually exhausting worker memory without disclosing or modifying data. This issue is fixed in version 3.3.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| graphql-python | >=3.3.0a3 <3.3.1 | ||
| pypi: graphql-core | >=3.3.0a3 <3.3.1 | 3.3.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket