{"answers":{"affected":"2 open source packages ship an affected version, including org.geoserver:gs-main. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-41877 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-41877 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-41877 is a high-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-2023-41877 and fix it if it is affected.\n\nWhat it is: CVE-2023-41877 is a high-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-2023-41877 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.geoserver:gs-main (Maven): affected all versions up to 2.23.4; no fix listed\n- org.geoserver:gs-main (Maven): affected all versions up to 2.23.4; no fix listed\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-41877/ (Markdown: https://insights.sbomify.com/CVE-2023-41877/index.md)","id":"CVE-2023-41877","markdown":"https://insights.sbomify.com/CVE-2023-41877/index.md","name":"CVE-2023-41877","record":{"aliases":["GHSA-8g7v-vjrc-x4g5"],"analysis":{"component_type":"server_software","fix_type":"workaround","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"GeoServer geospatial server","requires_auth":"high_privilege","summary":"GeoServer administrators can exploit path traversal in log settings to read arbitrary files, requiring admin access and specific configuration.","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":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A path traversal vulnerability in versions 2.23.4 and prior requires GeoServer Administrator with access to the admin console to misconfigure the Global Settings for log file location to an arbitrary location. The admin console GeoServer Logs page provides a preview of these contents. As this issue requires GeoServer administrators access, often representing a trusted party, the vulnerability has not received a patch as of time of publication. As a workaround, a system administrator responsible for running GeoServer can use the `GEOSERVER_LOG_FILE` setting to override any configuration option provided by the Global Settings page. The `GEOSERVER_LOG_LOCATION` parameter can be set as system property, environment variables, or servlet context parameters.","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":false,"headline":"GeoServer log file path traversal vulnerability","id":"CVE-2023-41877","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Weak password of selenium VNC in MeterSphere","id":"CVE-2023-41878"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.23.4"],"package":"org.geoserver:gs-main","purl":null,"source":"GHSA-8g7v-vjrc-x4g5"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.23.4"],"package":"org.geoserver:gs-main","purl":"pkg:maven/org.geoserver/gs-main","source":"GHSA-8g7v-vjrc-x4g5"}],"prev":{"headline":"WordPress WP Gallery Metabox Plugin \u003c= 1.0.0 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2023-41876"},"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 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":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["geoserver"]},"summary":"GeoServer administrators can exploit path traversal in log settings to read arbitrary files, requiring admin access and specific configuration.","url":"https://insights.sbomify.com/CVE-2023-41877/"}