Skip to content

Improper Authentication in Spring Authorization Server

Moderate severity GitHub Reviewed Published Mar 20, 2024 to the GitHub Advisory Database • Updated Mar 20, 2024

Package

maven org.springframework.security:spring-security-oauth2-authorization-server (Maven)

Affected versions

< 1.1.6
>= 1.2.0, < 1.2.3

Patched versions

1.1.6
1.2.3

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.

References

Published by the National Vulnerability Database Mar 20, 2024
Published to the GitHub Advisory Database Mar 20, 2024
Reviewed Mar 20, 2024
Last updated Mar 20, 2024

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2024-22258

GHSA ID

GHSA-x637-x8p3-5p22

Source code

github.com/spring-projects/spring-authorization-server
Checking history
See something to contribute? Suggest improvements for this vulnerability.