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.
Remediation
References
https://pivotal.io/security/cve-2019-11269
http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html
https://www.oracle.com/security-alerts/cpujan2021.html
Related Vulnerabilities
CVE-2013-0269 Vulnerability in maven package org.jruby:jruby
CVE-2022-21186 Vulnerability in npm package @acrontum/filesystem-template
CVE-2015-8860 Vulnerability in maven package org.webjars.npm:tar
CVE-2020-17531 Vulnerability in maven package org.apache.tapestry:tapestry-core
CVE-2011-1184 Vulnerability in maven package org.apache.tomcat:tomcat-catalina