VDB
KO
HIGH 7.5

GHSA-phxq-526m-79px

Spring for GraphQL: Annotation Detection Vulnerability

Quick fix

GHSA-phxq-526m-79px — org.springframework.graphql:spring-graphql: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.0.4</version> for org.springframework.graphql:spring-graphql

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.springframework.graphql:spring-graphql
Introduced in: 2.0.0 Fixed in: 2.0.4
Fix # pom.xml: bump <version>2.0.4</version> for org.springframework.graphql:spring-graphql
Maven / org.springframework.graphql:spring-graphql
Introduced in: 1.4.0 Fixed in: 1.4.6
Fix # pom.xml: bump <version>1.4.6</version> for org.springframework.graphql:spring-graphql
Maven / org.springframework.graphql:spring-graphql
Introduced in: 1.3.0

No fixed version published yet for org.springframework.graphql:spring-graphql (maven). Pin to a known-safe version or switch to an alternative.

Maven / org.springframework.graphql:spring-graphql
Introduced in: 1.0.0

No fixed version published yet for org.springframework.graphql:spring-graphql (maven). Pin to a known-safe version or switch to an alternative.

References