graphql-shield@5.6.2

GraphQL Server permissions as another layer of abstraction!

  • latest version

    7.6.5

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the graphql-shield 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
    • M
    Authorization Bypass

    graphql-shield is a package that adds a permission layer for GraphQL applications.

    Affected versions of this package are vulnerable to Authorization Bypass. The rule caching option no_cache relies on keys generated by cryptographically insecure functions, which may cause rules to be incorrectly cached. This allows attackers to access information they should not have access to in case of a key collision.

    How to fix Authorization Bypass?

    Upgrade graphql-shield to version 6.0.6 or higher.

    <6.0.6