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

Low 3.1 Published Updated

Attackers can access sensitive session data and identity information from other sessions via batch loader functions in Spring for GraphQL.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-34047?

CVE-2023-34047 is a low-severity vulnerability in Spring for GraphQL, published on 20 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Which versions are affected by CVE-2023-34047?

4 open source packages ship an affected version, including org.springframework.graphql:spring-graphql. It affects 1 product.

PackageAffectedFixed in
org.springframework.graphql:spring-graphql MavenFrom 1.1.01.1.6
org.springframework.graphql:spring-graphql MavenFrom 1.1.01.1.6
org.springframework.graphql:spring-graphql MavenFrom 1.2.01.2.3
org.springframework.graphql:spring-graphql MavenFrom 1.2.01.2.3

Products include Vmware Spring for Graphql.

How do I fix CVE-2023-34047?

Upgrade org.springframework.graphql:spring-graphql to a fixed version for your release line: 1.1.6 or 1.2.3.

Is CVE-2023-34047 being exploited?

There is no known exploitation of CVE-2023-34047 in the wild and no public exploit code.

Sources

Also known as GHSA-frqc-f2h8-fjvf.

Is CVE-2023-34047 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free