ADVISORIES

GitHub Advisory Database

GHSA-frqc-f2h8-fjvf

Spring for GraphQL may be exposed to GraphQL context with values from a different session

Details

A batch loader function in Spring for GraphQL versions 1.1.0 - 1.1.5 and 1.2.0 - 1.2.2 may be exposed to GraphQL context with values, including security context values, from a different session. An application is vulnerable if it provides a DataLoaderOptions instance when registering batch loader functions through DefaultBatchLoaderRegistry.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.graphql:spring-graphql
From 1.1.0 before 1.1.6 (fixed in 1.1.6)
Mavenorg.springframework.graphql:spring-graphql
From 1.2.0 before 1.2.3 (fixed in 1.2.3)

References