Skip to content
OpenAdvisories

Package · PyPI

strawberry-graphql

9 known vulnerabilities.

9 results · Feed

  • High 7.5

    Strawberry GraphQL: Synchronous permission checks can treat an awaitable authorization result as truthy

    Strawberry GraphQL is a library for creating GraphQL APIs. From 0.217.0 until 0.326.1, PermissionExtension.resolve() on a synchronous field resolver evaluates the result of has_permission() for truthiness. When a custom permission declares has_permission() as…

  • Low 3.7

    Strawberry legacy graphql-ws retains naturally completed subscription slots

    Strawberry GraphQL is a library for creating GraphQL APIs. From 0.312.3 until 0.327.2, the legacy graphql-ws subscription handler in strawberry/subscriptions/protocols/graphql_ws/handlers.py does not remove naturally completed operations from self.tasks and s…

  • Medium 5.3

    Strawberry GraphQL's Bypass of MaxAliasesLimiter via Fragment Spreads leading to GraphQL Alias Amplification

    Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.172.0 through0.315.6, the MaxAliasesLimiter extension in Strawberry fails to account for the multiplicative/amplification effect of FragmentSpreadNode. While it correctly counts static a…

  • Low 3.1

    Strawberry GraphQL: Default GraphiQL may expose HTTP headers in URLs

    Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.288.4 through 0.315.3, Strawberry's bundled GraphiQL template wrote values from the GraphiQL headers editor into the browser URL query string. If a user entered a sensitive header, such …

  • Medium 5.3

    Strawberry GraphQL has a Circular Fragment Reference DOS

    Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.71.0 through 0.315.6, the QueryDepthLimiter extension is vulnerable to an Application-level DOS due to a lack of cycle detection in fragment spreads. When a query contains circular fragm…

  • High 7.5

    Authentication bypass in strawberry-graphql via legacy graphql-ws WebSocket subprotocol

    Strawberry GraphQL is a library for creating GraphQL APIs. Strawberry up until version 0.312.3 is vulnerable to an authentication bypass on WebSocket subscription endpoints. The legacy graphql-ws subprotocol handler does not verify that a connection_init hand…

  • High 7.5

    Strawberry GraphQL affected by a Denial of Service via unbounded WebSocket subscriptions

    Strawberry GraphQL is a library for creating GraphQL APIs. Prior to 0.312.3, Strawberry GraphQL's WebSocket subscription handlers for both the graphql-transport-ws and legacy graphql-ws protocols allocate an asyncio.Task and associated Operation object for ev…

  • Low 3.7

    Strawberry GraphQL has a type resolution vulnerability

    Strawberry GraphQL is a library for creating GraphQL APIs. Starting in 0.182.0 and prior to version 0.257.0, a type confusion vulnerability exists in Strawberry GraphQL's relay integration that affects multiple ORM integrations (Django, SQLAlchemy, Pydantic).…

  • Medium 4.6

    Strawberry GraphQL Cross-Site Request Forgery (CSRF) vulnerability

    Strawberry GraphQL is a library for creating GraphQL APIs. Prior to version 0.243.0, multipart file upload support as defined in the GraphQL multipart request specification was enabled by default in all Strawberry HTTP view integrations. This made all Strawbe…