GHSA-8J6Q-96XG-96RR
Apollo Router leaks composed schema SDL in input-object variable validation errors
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-8J6Q-96XG-96RR divulgada · CVSS 5.3 (GitHub) | |
| Remediación | Parche 2.16.1 | apollo-router · 0 d desde divulgación | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Impact
An unauthenticated client able to send GraphQL operations can extract internal supergraph details — subgraph names and composition/`@tag` metadata for any input-object type it can name — without introspection access.
When an Apollo Router client sends an operation containing an input-object–typed variable, and the supplied object includes a field that is not defined on that input type, the router returns a `VALIDATION_INVALID_TYPE_VARIABLE` error whose message embeds the full composed definition of the input type. That definition includes federation/composition directives (`@join__type`, `@join__field`, `@tag`, etc.) and the internal subgraph names referenced by those directives. This information is returned to the client even when introspection is disabled and even when query-validation error redaction is configured, so it bypasses the controls operators normally rely on to keep internal schema details private.
There is no impact to data integrity or availability, and no end-user data is exposed.
### Patches
Organizations should upgrade to the following release or later:
- 2.16.1 (latest release line and current LTS)
### Workarounds
No configuration-only workaround fully prevents the leak in affected versions, because the message bypasses both the introspection and query-validation-error-redaction controls.
Mitigations:
* Restrict who can reach the GraphQL endpoint (network policy / authenticated access) where feasible.
* If an error-rewriting or response-processing layer (e.g. a coprocessor or Rhai script) is in place, strip or rewrite `VALIDATION_INVALID_TYPE_VARIABLE` error messages before they reach clients.
Acknowledgements
We appreciate @otakuu for the responsible disclosure of this weakness through our security channels.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.ioapollo-router |
Corregida | 2.16.1 | 0 d | 2.19.0 no afectada |
2.16.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/apollographql/router/security/advisories/GHSA-8j6q-96xg-96rrLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
