{"cve":"CVE-2019-3778","nvd":{"published":"2019-03-07T18:29:00.540","modified":"2026-06-17T02:35:34.707","status":"Modified","description":"Spring Security OAuth, versions 2.3 prior to 2.3.5, and 2.2 prior to 2.2.4, and 2.1 prior to 2.1.4, and 2.0 prior to 2.0.17, and 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. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and uses the DefaultRedirectResolver in the AuthorizationEndpoint. This vulnerability does not expose applications that: Act in the role of an Authorization Server and uses a different RedirectResolver implementation other than DefaultRedirectResolver, act in the role of a Resource Server only (e.g. @EnableResourceServer), act in the role of a Client only (e.g. @EnableOAuthClient).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5},"cwes":["CWE-601"],"references":["http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html","http://www.securityfocus.com/bid/107153","https://pivotal.io/security/cve-2019-3778","https://www.oracle.com/security-alerts/cpujan2021.html","http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html"],"products":["oracle:banking_corporate_lending","pivotal_software:spring_security_oauth"],"source":"nvd","synced_at":"2026-10-19T20:55:22.313337056+00:00"},"epss":{"cve":"CVE-2019-3778","score":0.16596,"percentile":0.97013,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-77rv-6vfw-x4gc","url":"https://osv.dev/vulnerability/GHSA-77rv-6vfw-x4gc","summary":"spring-security-oauth and spring-security-oauth2 Open Redirect vulnerability","modified":"2024-02-16T08:19:08.896590Z","packages":[{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","ranges":["<2.0.17.RELEASE"],"fixed":["2.0.17.RELEASE"]},{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","ranges":["<2.0.17.RELEASE"],"fixed":["2.0.17.RELEASE"]},{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","ranges":[">=2.1.0.RELEASE <2.1.4.RELEASE"],"fixed":["2.1.4.RELEASE"]},{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","ranges":[">=2.1.0.RELEASE <2.1.4.RELEASE"],"fixed":["2.1.4.RELEASE"]},{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","ranges":[">=2.2.0.RELEASE <2.2.4.RELEASE"],"fixed":["2.2.4.RELEASE"]},{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","ranges":[">=2.2.0.RELEASE <2.2.4.RELEASE"],"fixed":["2.2.4.RELEASE"]},{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","ranges":[">=2.3.0.RELEASE <2.3.5.RELEASE"],"fixed":["2.3.5.RELEASE"]},{"ecosystem":"Maven","name":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","ranges":[">=2.3.0.RELEASE <2.3.5.RELEASE"],"fixed":["2.3.5.RELEASE"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}