@apollo/federation-internals@2.11.5-preview.0

Apollo Federation internal utilities

  • latest version

    2.14.0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @apollo/federation-internals 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/federation-internals is an Apollo Federation internal utilities

    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/federation-internals 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