logo

GHSA-74cr-77xc-8g6r @apollo/gateway

Package

Manager: npm
Name: @apollo/gateway
Vulnerable Version: >=0 <0.6.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Prototype Pollution in @apollo/gateway Versions of `@apollo/gateway` prior to 0.6.2 are vulnerable to Prototype Pollution. The package uses deepMerge() to merge objects, which may allow attackers to alter the Object prototype through queries with GraphQL aliases. Carefully constructed payloads can override properties of all objects in the application. This may lead to Denial of Service or may be chained with other vulnerabilities leading to Remote Code Execution. ## Recommendation Upgrade to version 0.6.2 or later.

Metadata

Created: 2019-06-13T20:37:39Z
Modified: 2021-08-16T15:28:22Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-74cr-77xc-8g6r/GHSA-74cr-77xc-8g6r.json
CWE IDs: ["CWE-1321", "CWE-400"]
Alternative ID: N/A
Finding: F390
Auto approve: 1