CRITICAL 9.1

CVE-2023-34034

Access Control Bypass in Spring Security

Description

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-config
>= 5.6.0, < 5.6.12>= 5.7.0, < 5.7.10>= 5.8.0, < 5.8.5>= 6.0.0, < 6.0.5>= 6.1.0, < 6.1.2
5.6.12, 5.7.10, 5.8.5, 6.0.5, 6.1.2

Blast radius

1affected artifacts
34affected versions
2,747dependent artifacts (est.)
145,291dependent versions

40% of the dependent artifacts (1,101) still pull an affected version in their latest release.

DepthDependent versions
Direct
9,395
2 hops
84,971
3 hops
42,740
4 hops
6,713
5 hops
1,124
6 hops
348

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webossindex.sonatype.org
Websecurity.netapp.com
Websecurity.snyk.io
Webspring.io