CVE-2023-41877
HIGH 7.2CVSS 3.1GeoServer log file path traversal vulnerability
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.
- Published
- 20 Mar 2024
- Last modified
- 30 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-8g7v-vjrc-x4g5
- Sources
- NVDJSONOSV GHSA-8g7v-vjrc-x4g5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osgeo | geoservercpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* |
<= 2.23.4 | |
| OSV | Maven | org.geoserver:gs-main | <= 2.23.4 |
References
- https://docs.geoserver.org/latest/en/user/configuration/globalsettings.html#log-location · Product, WEB
- https://github.com/geoserver/geoserver/security/advisories/GHSA-8g7v-vjrc-x4g5 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-41877 · ADVISORY
- https://github.com/geoserver/geoserver · PACKAGE
History
- 30 Nov 2026 19:41 UTC · NVD: affected list changed (1 entry)
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 Mar 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Mar 2024)