MODERATE 6.1

CVE-2024-22258

Improper Authentication in Spring Authorization Server

Description

Spring Authorization Server versions 1.0.0 - 1.0.5, 1.1.0 - 1.1.5, 1.2.0 - 1.2.2 and older unsupported versions are susceptible to a PKCE Downgrade Attack for Confidential Clients.

Specifically, an application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant.

An application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-oauth2-authorization-server
< 1.1.6>= 1.2.0, < 1.2.3
1.1.6, 1.2.3

Blast radius

1affected artifacts
35affected versions
70dependent artifacts (est.)
2,089dependent versions

75% of the dependent artifacts (53) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,521
2 hops
290
3 hops
185
4 hops
93

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.