ADVISORIES

GitHub Advisory Database

GHSA-3h6f-g5f3-gc4w

Access Control Bypass in Spring Security

Critical CVE-2023-34034

Details

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-config
From 5.6.0 before 5.6.12 (fixed in 5.6.12)
Mavenorg.springframework.security:spring-security-config
From 5.7.0 before 5.7.10 (fixed in 5.7.10)
Mavenorg.springframework.security:spring-security-config
From 5.8.0 before 5.8.5 (fixed in 5.8.5)
Mavenorg.springframework.security:spring-security-config
From 6.0.0 before 6.0.5 (fixed in 6.0.5)
Mavenorg.springframework.security:spring-security-config
From 6.1.0 before 6.1.2 (fixed in 6.1.2)

References