title: Open Redirector in spring-security-oauth2
description: 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.
problem types: CWE-601: Open Redirect
affected:
{
product: Spring Security OAuth
vendor: Spring
versions:
lessThan: v2.2.5.RELEASE, status: affected, version: 2.2, versionType: custom
lessThan: v2.1.5.RELEASE, status: affected, version: 2.1, versionType: custom
lessThan: v2.0.18.RELEASE, status: affected, version: 2.0, versionType: custom
lessThan: v2.3.6.RELEASE, status: affected, version: 2.3, versionType: custom
}
metrics:
cvssV3_0: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.2
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
version: 3.0
]