Loading HuntDB...

GHSA-mmf6-6597-3v6m

GitHub Security Advisory

Open Redirect in Spring Security OAuth

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

Spring Security OAuth versions 2.3 prior to 2.3.6, 2.2 prior to 2.2.5, 2.1 prior to 2.1.5, and 2.0 prior to 2.0.18, as well as older unsupported versions could be susceptible to an open redirector attack that can leak an authorization code. A malicious user or attacker can craft a request to the authorization endpoint using the authorization code grant type, and specify a manipulated redirection URI via the redirect_uri parameter. This can cause the authorization server to redirect the resource owner user-agent to a URI under the control of the attacker with the leaked authorization code.

Affected Packages

Maven org.springframework.security.oauth:spring-security-oauth
Affected versions: 2.0.0.RELEASE (fixed in 2.0.18.RELEASE)
Maven org.springframework.security.oauth:spring-security-oauth
Affected versions: 2.1.0.RELEASE (fixed in 2.1.5.RELEASE)
Maven org.springframework.security.oauth:spring-security-oauth
Affected versions: 2.2.0.RELEASE (fixed in 2.2.5.RELEASE)
Maven org.springframework.security.oauth:spring-security-oauth
Affected versions: 2.3.0.RELEASE (fixed in 2.3.6.RELEASE)

Related CVEs

Key Information

GHSA ID
GHSA-mmf6-6597-3v6m
Published
June 13, 2019 8:18 PM
Last Modified
May 14, 2024 4:54 PM
CVSS Score
5.0 /10
Primary Ecosystem
Maven
Primary Package
org.springframework.security.oauth:spring-security-oauth
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 29, 2025 6:37 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.