Apollo-server-core before 2.4.12 is vulnerable to Information Exposure. The package 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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
WS-2020-0108 - High Severity Vulnerability
Vulnerable Library - apollo-server-core-2.3.1.tgz
Core engine for Apollo GraphQL server
Library home page: https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-2.3.1.tgz
Path to dependency file: /reaction/package.json
Path to vulnerable library: /node_modules/apollo-server/node_modules/apollo-server-core/package.json
Dependency Hierarchy: - apollo-server-express-2.3.1.tgz (Root Library) - :x: **apollo-server-core-2.3.1.tgz** (Vulnerable Library)
Found in HEAD commit: 565a18bfcb4225a6a89d4c12e34c894e523a58d7
Found in base branch: master
Vulnerability Details
Apollo-server-core before 2.4.12 is vulnerable to Information Exposure. The package 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.
Publish Date: 2020-06-05
URL: WS-2020-0108
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-w42g-7vfc-xf37
Release Date: 2020-06-05
Fix Resolution (apollo-server-core): 2.14.2
Direct dependency fix Resolution (apollo-server-express): 2.7.0-alpha.12
Step up your Open Source Security Game with Mend here