What’s Vulnerable › Vulnerabilities

CVE-2023-34047: Exposure of data and identity to wrong session in Spring for GraphQL

Description

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 products

How to fix

Upgrade to a fixed version: Spring for GraphQL 1.1.6, 1.2.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-34047 or the next vulnerability affects your stack