UnratednpmAmendedPublished
Authorization Bypass in graphql-shield
GHSA-hx78-272p-mqqh
- Affected
- npm graphql-shield < 6.0.6
- Fixed in
- 6.0.6· Vendor fix available
- Issue
- Versions of graphql-shield prior to 6.0.6 are vulnerable to an Authorization Bypass. The rule caching option nocache 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. Recommendation Upgrade to version 6.0.6 or later.
Recommended action: Upgrade to 6.0.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.