CVE-2023-50730
Last modified
CVE-2023-50730 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Grackle is a GraphQL server written in functional Scala, built on the Typelevel stack. The GraphQL specification requires that GraphQL fragments must not form cycles, either directly or indirectly. EPSS estimates a 0.83% chance of exploitation in the next 30 days.
Description
Grackle is a GraphQL server written in functional Scala, built on the Typelevel stack. The GraphQL specification requires that GraphQL fragments must not form cycles, either directly or indirectly. Prior to Grackle version 0.18.0, that requirement wasn't checked, and queries with cyclic fragments would have been accepted for type checking and compilation. The attempted compilation of such fragments would result in a JVM `StackOverflowError` being thrown. Some knowledge of an applications GraphQL schema would be required to construct such a query, however no knowledge of any application-specific performance or other behavioural characteristics would be needed. Grackle uses the cats-parse library for parsing GraphQL queries. Prior to version 0.18.0, Grackle made use of the cats-parse `recursive` operator. However, `recursive` is not currently stack safe. `recursive` was used in three places in the parser: nested selection sets, nested input values (lists and objects), and nested list type declarations. Consequently, queries with deeply nested selection sets, input values or list types could be constructed which exploited this, causing a JVM `StackOverflowException` to be thrown during parsing. Because this happens very early in query processing, no specific knowledge of an applications GraphQL schema would be required to construct such a query. The possibility of small queries resulting in stack overflow is a potential denial of service vulnerability. This potentially affects all applications using Grackle which have untrusted users. Both stack overflow issues have been resolved in the v0.18.0 release of Grackle. As a workaround, users could interpose a sanitizing layer in between untrusted input and Grackle query processing.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Typelevel | Grackle | < 0.18.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-50730?
How severe is CVE-2023-50730?
How do I fix CVE-2023-50730?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-50725Resque is a Redis-backed Ruby library for creating backgroun…6.1
- CVE-2023-50726Argo CD is a declarative, GitOps continuous delivery tool fo…6.4
- CVE-2023-50727Resque is a Redis-backed Ruby library for creating backgroun…6.1
- CVE-2023-50728octokit/webhooks is a GitHub webhook events toolset for Node…7.5
- CVE-2023-50729Traccar is an open source GPS tracking system. Prior to 5.11…9.8
- CVE-2023-5073The iframe forms plugin for WordPress is vulnerable to Store…5.4
- CVE-2023-50731MindsDB is a SQL Server for artificial intelligence. Prior t…9.1
- CVE-2023-50732XWiki Platform is a generic wiki platform offering runtime s…6.3
- CVE-2023-50733A Server-Side Request Forgery (SSRF) vulnerability has been …8.6
- CVE-2023-50734A buffer overflow vulnerability has been identified in PostS…9
- CVE-2023-50735A heap corruption vulnerability has been identified in PostS…9
- CVE-2023-50736A memory corruption vulnerability has been identified in Pos…9
Are you affected by CVE-2023-50730?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
