Description
Apollo Federation is an architecture for declaratively composing APIs into a unified graph. Prior to 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2, a vulnerability exists in query plan execution within the gateway that may allow pollution of Object.prototype in certain scenarios. A malicious client may be able to pollute Object.prototype in gateway directly by crafting operations with field aliases and/or variable names that target prototype-inheritable properties. Alternatively, if a subgraph were to be compromised by a malicious actor, they may be able to pollute Object.prototype in gateway by crafting JSON response payloads that target prototype-inheritable properties. This vulnerability is fixed in 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2.
Problem types
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Product status
>= 2.12.0-preview.0, < 2.12.3
>= 2.11.0-preview.0, < 2.11.6
>= 2.10.0-alpha.0, < 2.10.5
< 2.9.6
>= 2.12.0-preview.0, < 2.12.3
>= 2.11.0-preview.0, < 2.11.6
>= 2.10.0-alpha.0, < 2.10.5
< 2.9.6
>= 2.12.0-preview.0, < 2.12.3
>= 2.11.0-preview.0, < 2.11.6
>= 2.10.0-alpha.0, < 2.10.5
< 2.9.6
References
github.com/...ration/security/advisories/GHSA-pfjj-6f4p-rvmh