Security mailing lists by PureSourceCode

CVE-2024-24749

HIGH 7.5CVSS 3.1

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

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.23.5 and 2.24.3, if GeoServer is deployed in the Windows operating system using an Apache Tomcat web application server, it is possible to bypass existing input validation in the GeoWebCache ByteStreamController class and read arbitrary classpath resources with specific file name extensions. If GeoServer is also deployed as a web archive using the data directory embedded in the geoserver.war file (rather than an external data directory), it will likely be possible to read specific resources to gain administrator privileges. However, it is very unlikely that production environments will be using the embedded data directory since, depending on how GeoServer is deployed, it will be erased and re-installed (which would also reset to the default password) either every time the server restarts or every time a new GeoServer WAR is installed and is therefore difficult to maintain. An external data directory will always be used if GeoServer is running in standalone mode (via an installer or a binary). Versions 2.23.5 and 2.24.3 contain a patch for the issue. Some workarounds are available. One may change from a Windows environment to a Linux environment; or change from Apache Tomcat to Jetty application server. One may also disable anonymous access to the embeded GeoWebCache administration and status pages.

Published
1 Jul 2024
Last modified
30 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-jhqx-5v5g-mpf3
Sources
NVDJSONOSV GHSA-jhqx-5v5g-mpf3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD osgeo geoserver
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
< 2.23.5 2.23.5
NVD osgeo geoserver
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
>= 2.24.0, < 2.24.3 2.24.3
OSV Maven org.geoserver.web:gs-web-app < 2.23.5 2.23.5
OSV Maven org.geoserver.web:gs-web-app >= 2.24.0, < 2.24.3 2.24.3
OSV Maven org.geoserver:gs-gwc < 2.23.5 2.23.5
OSV Maven org.geoserver:gs-gwc >= 2.24.0, < 2.24.3 2.24.3

References

History

  • 30 Nov 2026 19:41 UTC · NVD: affected list changed (2 entries)
  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 Jul 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.