@apollo/gateway@0.19.1

Apollo Gateway

  • latest version

    2.13.3

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    12 days ago

  • licenses detected

    • >=0.1.0 <2.0.0-alpha.0
  • Direct Vulnerabilities

    Known vulnerabilities in the @apollo/gateway 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
    • C
    Prototype Pollution

    @apollo/gateway is a library exporting utility functions.

    Affected versions of this package are vulnerable to Prototype Pollution through incomplete sanitization of input in the query plan execution. An attacker can manipulate the Object.prototype in the gateway by crafting operations with field aliases or variable names that target prototype-inheritable properties, or by compromising a subgraph and sending malicious JSON response payloads. This can result in unexpected application behavior, privilege escalation, or data integrity issues.

    How to fix Prototype Pollution?

    Upgrade @apollo/gateway to version 2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2 or higher.

    <2.9.6>=2.10.0-alpha.0 <2.10.5>=2.11.0-preview.0 <2.11.6>=2.12.0-preview.0 <2.12.3>=2.13.0-preview.0 <2.13.2
    • H
    Allocation of Resources Without Limits or Throttling

    @apollo/gateway is a library exporting utility functions.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the query planner's allowing objects with arbitrary nesting depth. An attacker can cause the service to consume excessive resources by sending deeply nested queries with reused named fragments, which are handled suboptimally by the named fragment expansion logic in the query planner.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade @apollo/gateway to version 2.10.1 or higher.

    <2.10.1
    • H
    Allocation of Resources Without Limits or Throttling

    @apollo/gateway is a library exporting utility functions.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the query planner's allowing objects with arbitrary nesting depth. An attacker can cause the service to consume excessive resources by sending deeply nested queries with reused named fragments, which are handled suboptimally by the query planner.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade @apollo/gateway to version 2.10.1 or higher.

    <2.10.1