SCA: security update for org.geoserver.web:gs-web-app, org.geoserver:gs-gwc (GHSA-jhqx-5v5g-mpf3)

high Tenable Self-Hosted Container Security Plugin ID 416396

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-24749)

See Also

https://github.com/advisories/GHSA-jhqx-5v5g-mpf3

Plugin Details

Severity: High

ID: 416396

Version: Revision 1.13

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-24749

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/1/2024

Vulnerability Publication Date: 7/1/2024

Reference Information

CVE: CVE-2024-24749

cwe: CWE-22