apollo-federation is vulnerable to Information Disclosure
53
Medium Risk
Apollo Router validates the structure of a supergraph schema when it loads it, but does not validate that the GraphQL values embedded in that schema are valid for it. Native composition can produce a supergraph in which a field-argument default value references an @inaccessible input-object field, and the router accepts it without error while API schema validation still passes. The value of the @inaccessible field is then exposed to clients through the computed API schema and introspection, defeating the concealment the directive is meant to provide. The fix validates GraphQL values during composition so defaults referencing inaccessible input fields no longer leak.
You are affected if you are using a version that falls within the vulnerable range and your supergraph applies @inaccessible to input-object fields that are referenced by GraphQL argument default values.
apollo-federation is vulnerable to Information Disclosure in versions 2.16.0 - 2.16.0.
Upgrade the apollo-federation and/or the apollo-router library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant