{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-netflix. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5412 exists.","fix":"Upgrade org.springframework.cloud:spring-cloud-netflix to a fixed version for your release line: 2.1.6 or 2.2.4.","what":"CVE-2020-5412 is a medium-severity server-side request forgery vulnerability in Spring Cloud Netflix, published on 7 Aug 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-5412 and fix it if it is affected.\n\nWhat it is: CVE-2020-5412 is a medium-severity server-side request forgery vulnerability in Spring Cloud Netflix, published on 7 Aug 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5412 exists.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-netflix (Maven): affected from 2.1.0; fixed in 2.1.6\n- org.springframework.cloud:spring-cloud-netflix (Maven): affected from 2.1.0; fixed in 2.1.6\n- org.springframework.cloud:spring-cloud-netflix (Maven): affected from 2.2.0; fixed in 2.2.4\n- org.springframework.cloud:spring-cloud-netflix (Maven): affected from 2.2.0; fixed in 2.2.4\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-2020-5412/ (Markdown: https://insights.sbomify.com/CVE-2020-5412/index.md)","id":"CVE-2020-5412","markdown":"https://insights.sbomify.com/CVE-2020-5412/index.md","name":"CVE-2020-5412","record":{"aliases":["GHSA-qgcg-p3v2-9h4p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Cloud Netflix","requires_auth":"low_privilege","summary":"Attackers can exploit the Hystrix Dashboard proxy endpoint to perform Server-Side Request Forgery, accessing internal servers not intended for public exposure.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"pivotal","cpe":[{"product":"spring_cloud_netflix","vendor":"vmware"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"description":"Spring Cloud Netflix, versions 2.2.x prior to 2.2.4, versions 2.1.x prior to 2.1.6, and older unsupported versions allow applications to use the Hystrix Dashboard proxy.stream endpoint to make requests to any server reachable by the server hosting the dashboard. A malicious user, or attacker, can send a request to other servers that should not be exposed publicly.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-5412.yaml","stars":null,"title":"Spring Cloud Netflix - Server-Side Request Forgery"}],"tier":"weaponised"},"has_fix":true,"headline":"Hystrix Dashboard Proxy In spring-cloud-netflix-hystrix-dashboard","id":"CVE-2020-5412","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2020"},"n_packages":4,"n_references":1,"next":{"headline":"Kryo Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","id":"CVE-2020-5413"},"packages":[{"ecosystem":"Maven","fixed":["2.1.6"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-netflix","purl":null,"source":"GHSA-qgcg-p3v2-9h4p"},{"ecosystem":"Maven","fixed":["2.1.6"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-netflix","purl":"pkg:maven/org.springframework.cloud/spring-cloud-netflix","source":"GHSA-qgcg-p3v2-9h4p"},{"ecosystem":"Maven","fixed":["2.2.4"],"introduced":["2.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-netflix","purl":null,"source":"GHSA-qgcg-p3v2-9h4p"},{"ecosystem":"Maven","fixed":["2.2.4"],"introduced":["2.2.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-netflix","purl":"pkg:maven/org.springframework.cloud/spring-cloud-netflix","source":"GHSA-qgcg-p3v2-9h4p"}],"prev":{"headline":"Jackson Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","id":"CVE-2020-5411"},"products":["Spring Cloud Netflix"],"published":"2020-08-07","related":[{"cvss_score":8.8,"headline":"Code injection in spring-cloud-netflix-hystrix-dashboard","id":"CVE-2021-22053","kev_date_added":null,"published":"2021-11-19"}],"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":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Spring by VMware"]},"summary":"Attackers can exploit the Hystrix Dashboard proxy endpoint to perform Server-Side Request Forgery, accessing internal servers not intended for public exposure.","url":"https://insights.sbomify.com/CVE-2020-5412/"}