{"answers":{"affected":"16 open source packages ship an affected version, including org.springframework.security.oauth:spring-security-oauth and org.springframework.security.oauth:spring-security-oauth2. It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-3778 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security.oauth:spring-security-oauth to a fixed version for your release line: 2.0.17.RELEASE, 2.1.4.RELEASE, 2.2.4.RELEASE or 2.3.5.RELEASE.","what":"CVE-2019-3778 is a medium-severity vulnerability in Spring Security OAuth, published on 7 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-3778 and fix it if it is affected.\n\nWhat it is: CVE-2019-3778 is a medium-severity vulnerability in Spring Security OAuth, published on 7 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-3778 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected all versions; fixed in 2.0.17.RELEASE\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected all versions; fixed in 2.0.17.RELEASE\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected from 2.1.0.RELEASE; fixed in 2.1.4.RELEASE\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected from 2.1.0.RELEASE; fixed in 2.1.4.RELEASE\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected from 2.2.0.RELEASE; fixed in 2.2.4.RELEASE\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected from 2.2.0.RELEASE; fixed in 2.2.4.RELEASE\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected from 2.3.0.RELEASE; fixed in 2.3.5.RELEASE\n- org.springframework.security.oauth:spring-security-oauth (Maven): affected from 2.3.0.RELEASE; fixed in 2.3.5.RELEASE\n- org.springframework.security.oauth:spring-security-oauth2 (Maven): affected all versions; fixed in 2.0.17.RELEASE\n- org.springframework.security.oauth:spring-security-oauth2 (Maven): affected all versions; fixed in 2.0.17.RELEASE\n- org.springframework.security.oauth:spring-security-oauth2 (Maven): affected from 2.1.0.RELEASE; fixed in 2.1.4.RELEASE\n- org.springframework.security.oauth:spring-security-oauth2 (Maven): affected from 2.1.0.RELEASE; fixed in 2.1.4.RELEASE\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-3778/ (Markdown: https://insights.sbomify.com/CVE-2019-3778/index.md)","id":"CVE-2019-3778","markdown":"https://insights.sbomify.com/CVE-2019-3778/index.md","name":"CVE-2019-3778","record":{"aliases":["GHSA-77rv-6vfw-x4gc"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Security OAuth","requires_auth":"none","summary":"Attackers can exploit an open redirect in Spring Security OAuth to leak authorization codes, potentially leading to account takeover.","user_interaction":"not_required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"banking_corporate_lending","vendor":"oracle"},{"product":"spring_security_oauth","vendor":"pivotal_software"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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).","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2019-06-17","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-06-17","kind":"exploitdb","ref":"47000","stars":null,"title":"Spring Security OAuth - Open Redirector"},{"date":"2019-10-14T02:15:39Z","kind":"github_poc","ref":"https://github.com/BBB-man/CVE-2019-3778-Spring-Security-OAuth-2.3-Open-Redirection","stars":0,"title":"Spring Security OAuth 2.3 Open Redirection  分析复现篇"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Open Redirect in spring-security-oauth2","id":"CVE-2019-3778","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"open_redirect","year":"2019"},"n_packages":16,"n_references":4,"next":{"headline":"Cloud Foundry Container Runtime allows a user to bypass security policy when talking to ETCD","id":"CVE-2019-3779"},"packages":[{"ecosystem":"Maven","fixed":["2.0.17.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.0.17.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.1.4.RELEASE"],"introduced":["2.1.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.1.4.RELEASE"],"introduced":["2.1.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.2.4.RELEASE"],"introduced":["2.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.2.4.RELEASE"],"introduced":["2.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.3.5.RELEASE"],"introduced":["2.3.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.3.5.RELEASE"],"introduced":["2.3.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth","source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.0.17.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.0.17.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.1.4.RELEASE"],"introduced":["2.1.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.1.4.RELEASE"],"introduced":["2.1.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.2.4.RELEASE"],"introduced":["2.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.2.4.RELEASE"],"introduced":["2.2.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.3.5.RELEASE"],"introduced":["2.3.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":null,"source":"GHSA-77rv-6vfw-x4gc"},{"ecosystem":"Maven","fixed":["2.3.5.RELEASE"],"introduced":["2.3.0.RELEASE"],"last_affected":[],"package":"org.springframework.security.oauth:spring-security-oauth2","purl":"pkg:maven/org.springframework.security.oauth/spring-security-oauth2","source":"GHSA-77rv-6vfw-x4gc"}],"prev":{"headline":"Apps Manager unverified SSL certs in Cloud Controller proxy","id":"CVE-2019-3777"},"products":["Spring Security OAuth"],"published":"2019-03-07","related":[{"cvss_score":8.8,"headline":"Auth bypass in Banking Corporate Lending","id":"CVE-2018-2706","kev_date_added":null,"published":"2018-01-18"},{"cvss_score":8.1,"headline":"Missing authorization in Banking Corporate Lending","id":"CVE-2018-3050","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.1,"headline":"Missing authorization in Banking Corporate Lending","id":"CVE-2018-2707","kev_date_added":null,"published":"2018-01-18"},{"cvss_score":7.1,"headline":"Missing authorization in Banking Corporate Lending","id":"CVE-2020-2718","kev_date_added":null,"published":"2020-01-15"},{"cvss_score":7.1,"headline":"Information disclosure in FLEXCUBE Universal Banking","id":"CVE-2018-2746","kev_date_added":null,"published":"2018-04-19"},{"cvss_score":6.5,"headline":"Information disclosure in Banking Corporate Lending","id":"CVE-2020-14894","kev_date_added":null,"published":"2020-10-21"},{"cvss_score":6.5,"headline":"Information disclosure in Banking Corporate Lending","id":"CVE-2020-2716","kev_date_added":null,"published":"2020-01-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Spring"]},"summary":"Attackers can exploit an open redirect in Spring Security OAuth to leak authorization codes, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2019-3778/"}