{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/40807?format=json","vulnerability_id":"VCID-1ndm-y1m9-3feg","summary":"URL Redirection to Untrusted Site\nSpring Security OAuth 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`).","aliases":[{"alias":"CVE-2019-3778"},{"alias":"GHSA-77rv-6vfw-x4gc"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/57591?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.0.17","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.0.17"},{"url":"http://public2.vulnerablecode.io/api/packages/57592?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.4"},{"url":"http://public2.vulnerablecode.io/api/packages/57593?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.4"},{"url":"http://public2.vulnerablecode.io/api/packages/57594?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.5"},{"url":"http://public2.vulnerablecode.io/api/packages/57548?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.18.RELEASE","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.18.RELEASE"},{"url":"http://public2.vulnerablecode.io/api/packages/57549?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.1.5.RELEASE","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.1.5.RELEASE"},{"url":"http://public2.vulnerablecode.io/api/packages/57550?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.5.RELEASE","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.5.RELEASE"},{"url":"http://public2.vulnerablecode.io/api/packages/57551?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.3.6.RELEASE","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.3.6.RELEASE"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/57588?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1ndm-y1m9-3feg"},{"vulnerability":"VCID-rqmm-31xc-eqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57589?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1ndm-y1m9-3feg"},{"vulnerability":"VCID-rqmm-31xc-eqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57590?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1ndm-y1m9-3feg"},{"vulnerability":"VCID-rqmm-31xc-eqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/56770?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1ndm-y1m9-3feg"},{"vulnerability":"VCID-rfwp-tv3x-zqak"},{"vulnerability":"VCID-rqmm-31xc-eqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57545?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1ndm-y1m9-3feg"},{"vulnerability":"VCID-rqmm-31xc-eqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57546?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1ndm-y1m9-3feg"},{"vulnerability":"VCID-rqmm-31xc-eqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57547?format=json","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1ndm-y1m9-3feg"},{"vulnerability":"VCID-rqmm-31xc-eqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.3.0"}],"references":[{"reference_url":"http://www.securityfocus.com/bid/107153","reference_id":"","reference_type":"","scores":[],"url":"http://www.securityfocus.com/bid/107153"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3778","reference_id":"CVE-2019-3778","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3778"},{"reference_url":"https://pivotal.io/security/cve-2019-3778","reference_id":"CVE-2019-3778","reference_type":"","scores":[],"url":"https://pivotal.io/security/cve-2019-3778"},{"reference_url":"https://github.com/advisories/GHSA-77rv-6vfw-x4gc","reference_id":"GHSA-77rv-6vfw-x4gc","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-77rv-6vfw-x4gc"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":601,"name":"URL Redirection to Untrusted Site ('Open Redirect')","description":"A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-1ndm-y1m9-3feg"}