Information Exposure Affecting apollo-server-core package, versions <2.14.2
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-APOLLOSERVERCORE-571663
- published 7 Jun 2020
- disclosed 5 Jun 2020
- credit Bitwala security team
How to fix?
Upgrade apollo-server-core
to version 2.14.2 or higher.
Overview
apollo-server-core is a core module of the Apollo community GraphQL Server.
Affected versions of this package are vulnerable to Information Exposure. It does not properly enforce validation rules when creating subscription servers, which includes a NoInstrospection
rule for the Websocket. This leaks the GraphQL schema types, their relations and human-readable names.
References
CVSS Scores
version 3.1