GeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressions
CVE-2024-36404
What is CVE-2024-36404?
The GeoTools Java library, widely used for geospatial data handling, is susceptible to a vulnerability that enables remote code execution via user-supplied XPath expressions. This issue affects versions prior to 31.2, 30.4, and 29.6. Users running earlier versions are at risk if applications employ certain GeoTools functionalities. While upgrading to fixed versions is recommended, users can mitigate risks temporarily by removing the gt-complex jar, which may limit some functionalities in applications relying on complex content querying. Alternative jars from SourceForge are also available for older versions to provide quick access to patched releases.
Affected Version(s)
geotools < 29.6 < 29.6
geotools >= 30.0, < 30.4 < 30.0, 30.4
geotools >= 31.0, < 31.2 < 31.0, 31.2
