{"answers":{"affected":"4 open source packages ship an affected version, including org.geoserver:gs-restconfig. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23634 in the wild and no public exploit code.","fix":"Upgrade org.geoserver:gs-restconfig to a fixed version for your release line: 2.23.5 or 2.24.2.","what":"CVE-2024-23634 is a medium-severity path traversal vulnerability in geoserver, published on 20 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-23634 and fix it if it is affected.\n\nWhat it is: CVE-2024-23634 is a medium-severity path traversal vulnerability in geoserver, published on 20 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-23634 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.geoserver:gs-restconfig (Maven): affected all versions; fixed in 2.23.5\n- org.geoserver:gs-restconfig (Maven): affected all versions; fixed in 2.23.5\n- org.geoserver:gs-restconfig (Maven): affected from 2.24.0; fixed in 2.24.2\n- org.geoserver:gs-restconfig (Maven): affected from 2.24.0; fixed in 2.24.2\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-2024-23634/ (Markdown: https://insights.sbomify.com/CVE-2024-23634/index.md)","id":"CVE-2024-23634","markdown":"https://insights.sbomify.com/CVE-2024-23634/index.md","name":"CVE-2024-23634","record":{"aliases":["GHSA-75m5-hh4r-q9gx"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"GeoServer","requires_auth":"high_privilege","summary":"Authenticated administrators can rename arbitrary files via the REST API, causing denial of service or security bypasses in GeoServer.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"geoserver","vendor":"geoserver"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. An arbitrary file renaming vulnerability exists in versions prior to 2.23.5 and 2.24.2 that enables an authenticated administrator with permissions to modify stores through the REST Coverage Store or Data Store API to rename arbitrary files and directories with a name that does not end in `.zip`. Store file uploads rename zip files to have a `.zip` extension if it doesn't already have one before unzipping the file.  This is fine for file and url upload methods where the files will be in a specific subdirectory of the data directory but, when using the external upload method, this allows arbitrary files and directories to be renamed. Renaming GeoServer files will most likely result in a denial of service, either completely preventing GeoServer from running or effectively deleting specific resources (such as a workspace, layer or style).  In some cases, renaming GeoServer files could revert to the default settings for that file which could be relatively harmless like removing contact information or have more serious consequences like allowing users to make OGC requests that the customized settings would have prevented them from making. The impact of renaming non-GeoServer files depends on the specific environment although some sort of denial of service is a likely outcome. Versions 2.23.5 and 2.24.2 contain a fix for this issue.","ecosystems":["Maven"],"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":"GeoServer arbitrary file renaming vulnerability in REST Coverage/Data Store API","id":"CVE-2024-23634","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":4,"n_references":5,"next":{"headline":"AntiSamy malicious input can provoke XSS when preserving comments","id":"CVE-2024-23635"},"packages":[{"ecosystem":"Maven","fixed":["2.23.5"],"introduced":["0"],"last_affected":[],"package":"org.geoserver:gs-restconfig","purl":null,"source":"GHSA-75m5-hh4r-q9gx"},{"ecosystem":"Maven","fixed":["2.23.5"],"introduced":["0"],"last_affected":[],"package":"org.geoserver:gs-restconfig","purl":"pkg:maven/org.geoserver/gs-restconfig","source":"GHSA-75m5-hh4r-q9gx"},{"ecosystem":"Maven","fixed":["2.24.2"],"introduced":["2.24.0"],"last_affected":[],"package":"org.geoserver:gs-restconfig","purl":null,"source":"GHSA-75m5-hh4r-q9gx"},{"ecosystem":"Maven","fixed":["2.24.2"],"introduced":["2.24.0"],"last_affected":[],"package":"org.geoserver:gs-restconfig","purl":"pkg:maven/org.geoserver/gs-restconfig","source":"GHSA-75m5-hh4r-q9gx"}],"prev":{"headline":"Label Studio XSS Vulnerability on Data Import","id":"CVE-2024-23633"},"products":["geoserver"],"published":"2024-03-20","related":[{"cvss_score":9.8,"headline":"OSGeo GeoServer GeoTools Eval Injection","id":"CVE-2024-36401","kev_date_added":"2024-07-15","published":"2024-07-01"},{"cvss_score":8.2,"headline":"OSGeo GeoServer Improper Restriction of XML External Entity Reference","id":"CVE-2025-58360","kev_date_added":"2025-12-11","published":"2025-11-25"},{"cvss_score":9.8,"headline":"GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language","id":"CVE-2023-35042","kev_date_added":null,"published":"2023-06-12"},{"cvss_score":7.5,"headline":"Classpath resource disclosure in GWC Web Resource API on Windows / Tomcat","id":"CVE-2024-24749","kev_date_added":null,"published":"2024-07-01"},{"cvss_score":7.2,"headline":"GeoServer log file path traversal vulnerability","id":"CVE-2023-41877","kev_date_added":null,"published":"2024-03-20"},{"cvss_score":7.2,"headline":"GeoServer arbitrary file upload vulnerability in REST Coverage Store API","id":"CVE-2023-51444","kev_date_added":null,"published":"2024-03-20"},{"cvss_score":6.1,"headline":"GeoServer Reflected Cross-Site Scripting (XSS) vulnerability in WMS GetFeatureInfo HTML format","id":"CVE-2025-21621","kev_date_added":null,"published":"2025-11-25"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["geoserver"]},"summary":"Authenticated administrators can rename arbitrary files via the REST API, causing denial of service or security bypasses in GeoServer.","url":"https://insights.sbomify.com/CVE-2024-23634/"}