Path traversal in geoserver - CVE-2024-24749

 

Path traversal in geoserver - CVE-2024-24749

Published: July 1, 2024 / Updated: May 5, 2026


Vulnerability identifier: #VU129746
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-24749
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to path traversal in the GeoWebCache ByteStreamController class when handling crafted web resource requests on Windows deployments using Apache Tomcat. A remote attacker can send a specially crafted request to disclose sensitive information.

If GeoServer is deployed as a web archive with the data directory embedded in the geoserver.war file, specific disclosed resources may enable subsequent administrator privilege gain.


Affected software

geoserver

How to mitigate CVE-2024-24749

Install security update from vendor's website.

geoserver - addressed in versions 2.23.5, 2.24.3

External References

Related Security Bulletins