GitHub Advisory Database
GHSA-px92-q6rc-6mwv
Spring for GraphQL: Unsafe Deserialization
Details
Spring for GraphQL applications are vulnerable to Unsafe Deserialization when processing paginated GraphQL queries. An attacker can craft a malicious GraphQL request that can lead to Remote Code Execution when the application exposes a paginated (Connection) field and the classpath contains specific classes that can be leveraged during deserialization.
Affected versions: Spring for GraphQL 2.0.0 through 2.0.3; 1.4.0 through 1.4.5; 1.3.0 through 1.3.8.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.graphql:spring-graphql | From 2.0.0 before 2.0.4 (fixed in 2.0.4) |
| Maven | org.springframework.graphql:spring-graphql | From 1.4.0 before 1.4.6 (fixed in 1.4.6) |
| Maven | org.springframework.graphql:spring-graphql | From 1.3.0 up to and including 1.3.8 |