CVE-2024-36404

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductOrg.geotools:gt-app-schema
PublishedJul 2, 2024
First seenJul 2, 2024
Weakness typeCWE-95CWE-95

How to fix

Update
  • org.geotools:gt-app-schema30.4, 31.2, 29.6, 28.6 or later
  • org.geotools:gt-complex30.4, 31.2, 29.6, 28.6 or later
  • org.geotools.xsd:gt-xsd-core30.4, 31.2, 29.6, 28.6 or later

Affected products

ProductAffected versionsFixed in
org.geotools:gt-app-schemaMaven30.0 ≤ v < 30.4, 31.0 ≤ v < 31.2, 29.0 ≤ v < 29.6, v < 28.630.4, 31.2, 29.6, 28.6
org.geotools:gt-complexMaven30.0 ≤ v < 30.4, 31.0 ≤ v < 31.2, 29.0 ≤ v < 29.6, v < 28.630.4, 31.2, 29.6, 28.6
org.geotools.xsd:gt-xsd-coreMaven30.0 ≤ v < 30.4, 31.0 ≤ v < 31.2, 29.0 ≤ v < 29.6, v < 28.630.4, 31.2, 29.6, 28.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-36404 · Org.geotools:gt-app-schema · Dark Radar