# CVE-2024-24749: Classpath resource disclosure in GWC Web Resource API on Windows / Tomcat

Source: https://junglewise.ai/threats/cve-2024-24749-classpath-resource-disclosure-in-gwc-web-resource-api-on-windows  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-01  
License: CC BY 4.0 with a link back

CVE-2024-24749 · Severity: low · CVSS 3.1 · Published 2024-07-01

Classpath resource disclosure in GWC Web Resource API on Windows / Tomcat

Technologies: [org.geoserver:gs-gwc (Maven)](https://junglewise.ai/threats/technologies/org-geoserver-gs-gwc), [org.geoserver.web:gs-web-app (Maven)](https://junglewise.ai/threats/technologies/org-geoserver-web-gs-web-app). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-24749 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-24749 being exploited in the wild.

**How severe is CVE-2024-24749?** Low severity, with a CVSS score of 3.1, published 1 July 2024.

**Which products and versions are affected?** org.geoserver:gs-gwc (Maven) ECOSYSTEM:introduced=0,fixed=2.23.5; org.geoserver.web:gs-web-app (Maven) ECOSYSTEM:introduced=0,fixed=2.23.5.

**Is there a fix for CVE-2024-24749?** Yes. org.geoserver:gs-gwc (Maven): upgrade to 2.23.5 or later; org.geoserver.web:gs-web-app (Maven): upgrade to 2.23.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-24749?** Check whether you run org.geoserver:gs-gwc (Maven) or org.geoserver.web:gs-web-app (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.geoserver:gs-gwc (Maven): upgrade to 2.23.5 or later

  ```sh
  # set org.geoserver:gs-gwc to 2.23.5 in your pom.xml or build.gradle
  ```

- org.geoserver.web:gs-web-app (Maven): upgrade to 2.23.5 or later

  ```sh
  # set org.geoserver.web:gs-web-app to 2.23.5 in your pom.xml or build.gradle
  ```


## Affected products

- org.geoserver:gs-gwc (Maven) ECOSYSTEM:introduced=0,fixed=2.23.5
- org.geoserver.web:gs-web-app (Maven) ECOSYSTEM:introduced=0,fixed=2.23.5

## Identifiers

- CVE-2024-24749
- GHSA-jhqx-5v5g-mpf3

## Related threats

- [GeoServer Server-Side Template Injection in FreeMarker templates](https://junglewise.ai/threats/cve-2024-45747-geoserver-server-side-template-injection-in-freemarker-templates)
- [GeoServer SSRF in XML entity resolution via proxy base URL bypass](https://junglewise.ai/threats/cve-2025-58175-geoserver-ssrf-in-xml-entity-resolution-via-proxy-base-url-bypass)
- [GeoServer arbitrary file write in Master Password Dump page](https://junglewise.ai/threats/cve-2025-52465-geoserver-arbitrary-file-write-in-master-password-dump-page)
- [GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS GetFeatureInfo HTML format](https://junglewise.ai/threats/cve-2025-21621-geoserver-has-a-reflected-cross-site-scripting-xss-vulnerability)
- [GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature](https://junglewise.ai/threats/cve-2025-58360-osgeo-geoserver-xxe-in-wms-getmap-operation)
