VDB
Sign up
MEDIUM5.3

GHSA-hh3m-g4qj-4835

Spring Security Vulnerable to Authorization Bypass via Security Annotations

Quick fix

GHSA-hh3m-g4qj-4835 — org.springframework.security:spring-security-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>6.4.4</version> for org.springframework.security:spring-security-core

Details

Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass. 

You are not affected if you are not using @EnableMethodSecurity, or you do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methods

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework.security:spring-security-core
Introduced in: 6.4.0Fixed in: 6.4.4
Fix# pom.xml: bump <version>6.4.4</version> for org.springframework.security:spring-security-core

References