CVE-2024-36404: geotools Eval Injection
Vulnerability summary
CVE-2024-36404 is a critical (CVSS 9.8) Eval Injection vulnerability in geotools. EPSS estimates a 76.06% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 02-07-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
76.06%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 76.06% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.geotools2 products
- gt-app-schema≥ 30.0, < 30.4 | ≥ 31.0, < 31.2 | ≥ 29.0, < 29.6 | < 28.6
- gt-complex≥ 30.0, < 30.4 | ≥ 31.0, < 31.2 | ≥ 29.0, < 29.6 | < 28.6
Geotools1 product
- geotools< 29.6 | ≥ 30.0, < 30.4 | ≥ 31.0, < 31.2
Org.geotools.xsd1 product
- gt-xsd-core≥ 30.0, < 30.4 | ≥ 31.0, < 31.2 | ≥ 29.0, < 29.6 | < 28.6
3 vendors · 4 products
References
18 linksShow all 18 references
- github.com/geotools/geotoolsPACKAGE