Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. graphql-shield
  4. ›
  5. GMS-2020-279

GMS-2020-279: Authorization Bypass in graphql-shield

September 3, 2020 (updated September 29, 2021)

Versions of graphql-shield are vulnerable to an 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.

References

  • github.com/advisories/GHSA-hx78-272p-mqqh
  • www.npmjs.com/advisories/1121

Code Behaviors & Features

Detect and mitigate GMS-2020-279 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.0.6

Fixed versions

  • 6.0.6

Solution

Upgrade to version 6.0.6 or above.

Source file

npm/graphql-shield/GMS-2020-279.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.