CVE-2023-34047
Spring for GraphQL may be exposed to GraphQL context with values from a different session
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.graphql » spring-graphql | >= 1.1.0, < 1.1.6>= 1.2.0, < 1.2.3 | 1.1.6, 1.2.3 |
Blast radius
23% of the dependent artifacts (6) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 75 |
| 2 hops | 42 |
| 3 hops | 18 |
Most used dependents
- org.springframework.boot » spring-boot-starter-graphql82 usages
- org.springframework.graphql » spring-graphql-test41 usages
- de.terrestris » shogun-lib4 usages
- name.nkonev.multipart-spring-graphql » multipart-spring-graphql3 usages
- org.autumnframework » autumn-service-graphql-scalars2 usages
- de.terrestris » shogun-gs-interceptor1 usages
- org.springframework.integration » spring-integration-graphql0 usages
- com.xlrit.gears.runtime » gears-runtime-server0 usages
- nl.basjes.parse.useragent » yauaa-webapp0 usages
- com.netflix.graphql.dgs » graphql-dgs-spring-graphql-example-java0 usages
- com.netflix.graphql.dgs » graphql-dgs-spring-graphql-example-java-webflux0 usages
- org.autumnframework » autumn-service-graphql-dataloader0 usages
- org.autumnframework » autumn-service-graphql-filters0 usages
- org.autumnframework » autumn-service-graphql-geojson0 usages
- org.autumnframework » autumn-service-test-graphql-server0 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-34047 | nvd.nist.gov |
| Package | spring-projects/spring-graphql | github.com |
| Web | security/cve-2023-34047 | spring.io |
