CVE-2024-23634
GeoServer arbitrary file renaming vulnerability in REST Coverage/Data Store API
Also known as GHSA-75m5-hh4r-q9gx
Mitigation
- Upgrade org.geoserver:gs-restconfig to one of 2.23.5, 2.24.2 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.geoserver:gs-restconfig (< 2.23.5)
- Anyone running geoserver < 2.23.5; >= 2.24.0, < 2.24.2
Vulnerability facts
- Affected
- org.geoserver:gs-restconfig < 2.23.5
- Fixed in
- 2.23.5, 2.24.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.89% chance of exploitation in 30 days (percentile 57, 2026-11-26)
- CWE
- CWE-20, CWE-73
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.geoserver:gs-restconfig | < 2.23.5 | 2.23.5, 2.24.2 | osv |
| geoserver | < 2.23.5; >= 2.24.0, < 2.24.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-23634. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-23634.md Affected: org.geoserver:gs-restconfig < 2.23.5 Fixed in: 2.23.5, 2.24.2 Steps: 1. Search this machine and project for org.geoserver:gs-restconfig (Maven), geoserver: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2024-23634 being exploited?
There is no confirmed exploitation: CVE-2024-23634 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-23634?
Medium: CVSS 6.0 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2024-23634?
org.geoserver:gs-restconfig < 2.23.5.
Is there a fix for CVE-2024-23634?
Yes. Fixed in 2.23.5, 2.24.2. Upgrade org.geoserver:gs-restconfig to one of 2.23.5, 2.24.2 (or later in the same release line).
How do I check if I'm affected by CVE-2024-23634?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.