apollo-federation is vulnerable to Information Disclosure
53
CVE Score
Medium
Information Disclosure
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.
Upgrade the apollo-federation and/or the apollo-router library to the patch version.
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.
2.16.0 - 2.16.0
Fixed in 2.16.1apollo-federation is vulnerable to Information Disclosure in versions 2.16.0 - 2.16.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.