ADVISORIES

GitHub Advisory Database

GHSA-phxq-526m-79px

Spring for GraphQL: Annotation Detection Vulnerability

Details

The Spring GraphQL annotation detection mechanism for @Controller data fetchers may not correctly resolve annotations on methods within type hierarchies. This can be an issue if such annotations are used for authorization decisions. When all conditions are met, security annotations can be ignored at runtime.

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; 1.0.0 through 1.0.6.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.graphql:spring-graphql
From 2.0.0 before 2.0.4 (fixed in 2.0.4)
Mavenorg.springframework.graphql:spring-graphql
From 1.4.0 before 1.4.6 (fixed in 1.4.6)
Mavenorg.springframework.graphql:spring-graphql
From 1.3.0 up to and including 1.3.8
Mavenorg.springframework.graphql:spring-graphql
From 1.0.0 up to and including 1.0.6

References