{"answers":{"affected":"3 open source packages ship an affected version, including geonode. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40017 in the wild and no public exploit code.","fix":"Upgrade geonode to a fixed version for your release line: 4.1.3 or 4.2.0.","what":"CVE-2023-40017 is a high-severity server-side request forgery vulnerability in geonode, published on 24 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-40017 and fix it if it is affected.\n\nWhat it is: CVE-2023-40017 is a high-severity server-side request forgery vulnerability in geonode, published on 24 Aug 2023. 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-2023-40017 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- geonode (PyPI): affected from 3.2.0; fixed in 4.1.3\n- geonode (PyPI): affected from 3.2.0; fixed in 4.2.0\n- geonode (PyPI): affected from 3.2.0; fixed in 4.2.0\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-2023-40017/ (Markdown: https://insights.sbomify.com/CVE-2023-40017/index.md)","id":"CVE-2023-40017","markdown":"https://insights.sbomify.com/CVE-2023-40017/index.md","name":"CVE-2023-40017","record":{"aliases":["GHSA-rmxg-6qqf-x8mr","PYSEC-2023-269"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Geospatial data platform","requires_auth":"none","summary":"An attacker can exploit a proxy endpoint to port scan internal hosts and access internal network resources in GeoNode.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"geonode","vendor":"geosolutionsgroup"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data. In versions 3.2.0 through 4.1.2, the endpoint `/proxy/?url=` does not properly protect against server-side request forgery. This allows an attacker to port scan internal hosts and request information from internal hosts. A patch is available at commit a9eebae80cb362009660a1fd49e105e7cdb499b9.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Geonode Server Side Request Forgery vulnerability","id":"CVE-2023-40017","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"FreeSWITCH allows remote users to trigger out of bounds write by offering an ICE candidate with unknown component ID","id":"CVE-2023-40018"},"packages":[{"ecosystem":"PyPI","fixed":["4.1.3"],"introduced":["3.2.0"],"last_affected":[],"package":"geonode","purl":"pkg:pypi/geonode","source":"PYSEC-2023-269"},{"ecosystem":"PyPI","fixed":["4.2.0"],"introduced":["3.2.0"],"last_affected":[],"package":"geonode","purl":null,"source":"GHSA-rmxg-6qqf-x8mr"},{"ecosystem":"PyPI","fixed":["4.2.0"],"introduced":["3.2.0"],"last_affected":[],"package":"geonode","purl":"pkg:pypi/geonode","source":"GHSA-rmxg-6qqf-x8mr"}],"prev":{"headline":"Vyper: reversed order of side effects for some operations","id":"CVE-2023-40015"},"products":["geonode"],"published":"2023-08-24","related":[{"cvss_score":7.5,"headline":"GeoNode SSRF Bypass to return internal host data","id":"CVE-2023-42439","kev_date_added":null,"published":"2023-09-15"},{"cvss_score":7.5,"headline":"Geoserver for GeoNode sensitive information leak","id":"CVE-2023-28442","kev_date_added":null,"published":"2023-03-23"},{"cvss_score":6.5,"headline":"XML External Entity (XXE) injection in GeoServer style upload functionality","id":"CVE-2023-26043","kev_date_added":null,"published":"2023-02-27"},{"cvss_score":6.1,"headline":"GeoNode stored XSS to full account takeover","id":"CVE-2024-27091","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":5.3,"headline":"GeoNode \u003c 4.4.5, 5.0.2 SSRF via Document Upload","id":"CVE-2026-39921","kev_date_added":null,"published":"2026-04-10"},{"cvss_score":5.3,"headline":"GeoNode SSRF via Service Registration","id":"CVE-2026-39922","kev_date_added":null,"published":"2026-04-10"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-02","vendors":["GeoNode"]},"summary":"An attacker can exploit a proxy endpoint to port scan internal hosts and access internal network resources in GeoNode.","url":"https://insights.sbomify.com/CVE-2023-40017/"}