SCA: security update for org.geotools.xsd:gt-xsd-core, org.geotools:gt-app-schema, org.geotools:gt-complex (GHSA-w3pj-wh35-fq8w)

critical Tenable Self-Hosted Container Security Plugin ID 420825

Description

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

- GeoTools is an open source Java library that provides tools for geospatial data. Prior to versions 31.2,
30.4, and 29.6, Remote Code Execution (RCE) is possible if an application uses certain GeoTools
functionality to evaluate XPath expressions supplied by user input. Versions 31.2, 30.4, and 29.6 contain
a fix for this issue. As a workaround, GeoTools can operate with reduced functionality by removing the
`gt-complex` jar from one's application. As an example of the impact, application schema `datastore` would
not function without the ability to use XPath expressions to query complex content. Alternatively, one may
utilize a drop-in replacement GeoTools jar from SourceForge for versions 31.1, 30.3, 30.2, 29.2, 28.2,
27.5, 27.4, 26.7, 26.4, 25.2, and 24.0. These jars are for download only and are not available from maven
central, intended to quickly provide a fix to affected applications. (CVE-2024-36404)

See Also

https://github.com/advisories/GHSA-w3pj-wh35-fq8w

https://github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround-for-cve-2022-41852

https://osgeo-org.atlassian.net/browse/GEOT-7587

Plugin Details

Severity: Critical

ID: 420825

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 2/5/2025

Updated: 9/23/2025

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.04

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-36404

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/2/2024

Vulnerability Publication Date: 7/2/2024

Reference Information

CVE: CVE-2024-36404

cwe: CWE-95