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
http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html
https://pivotal.io/security/cve-2019-11269
https://www.oracle.com/security-alerts/cpujan2021.html
Related Vulnerabilities
CVE-2020-5245 Vulnerability in maven package io.dropwizard:dropwizard-validation
CVE-2021-36686 Vulnerability in npm package yapi-vendor
CVE-2022-28355 Vulnerability in maven package org.scala-js:scalajs-library_2.12
CVE-2021-23370 Vulnerability in npm package swiper
CVE-2020-7633 Vulnerability in npm package apiconnect-cli-plugins