Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring for GraphQL | 2.0.0 – < 2.0.3.1, 1.4.0 – < 1.4.5.1, 1.3.0 – < 1.3.9 | 2.0.3.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.graphql:spring-graphql | >= 2.0.0, < 2.0.4 | 2.0.4 | GHSA-px92-q6rc-6mwv |
| Maven | org.springframework.graphql:spring-graphql | >= 1.4.0, < 1.4.6 | 1.4.6 | GHSA-px92-q6rc-6mwv |
| Maven | org.springframework.graphql:spring-graphql | >= 1.3.0, <= 1.3.8 | — | GHSA-px92-q6rc-6mwv |