strawberry-graphql@0.312.0

A library for creating GraphQL APIs

  • latest version

    0.314.3

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    11 days ago

  • licenses detected

    • [0.1.0,0.314.0)
  • Direct Vulnerabilities

    Known vulnerabilities in the strawberry-graphql package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Allocation of Resources Without Limits or Throttling

    strawberry-graphql is an A library for creating GraphQL APIs

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the WebSocket subscription handling process. An attacker can exhaust server resources by sending a large number of subscribe messages with unique IDs over a single connection, causing unbounded allocation of asyncio.Task objects and leading to memory exhaustion and event loop saturation.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade strawberry-graphql to version 0.312.3 or higher.

    [,0.312.3)
    • H
    Missing Authentication for Critical Function

    strawberry-graphql is an A library for creating GraphQL APIs

    Affected versions of this package are vulnerable to Missing Authentication for Critical Function via the on_ws_connect process. An attacker can gain unauthorized access to WebSocket subscription endpoints by connecting with the legacy graphql-ws subprotocol and sending a start message directly, bypassing the required authentication handshake.

    Note:

    This is only exploitable if the application relies on on_ws_connect for authentication or authorization.

    How to fix Missing Authentication for Critical Function?

    Upgrade strawberry-graphql to version 0.312.3 or higher.

    [,0.312.3)