patchminder
Weaponized · Nuclei CVE-2024-36404

Remote code executionin geotools.

Published 2 Jul 2024 · Updated 2 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 76.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade geotools to 29.6, 30.4, 31.2 or later, whichever matches your release line.
  • Upgrade org.geotools:gt-app-schema (Maven) to 28.6, 29.6, 30.4, 31.2 or later, whichever matches your release line.
  • Upgrade org.geotools:gt-complex (Maven) to 28.6, 29.6, 30.4, 31.2 or later, whichever matches your release line.
  • Upgrade org.geotools.xsd:gt-xsd-core (Maven) to 28.6, 29.6, 30.4, 31.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
geotools
before 29.6
29.6
CVE record
geotools
30.0 to before 30.4
30.4
CVE record
geotools
31.0 to before 31.2
31.2
CVE record
org.geotools:gt-app-schema (Maven)
30.0 to before 30.4
30.4
GitHub advisory
org.geotools:gt-app-schema (Maven)
31.0 to before 31.2
31.2
GitHub advisory
org.geotools:gt-app-schema (Maven)
29.0 to before 29.6
29.6
GitHub advisory
org.geotools:gt-app-schema (Maven)
before 28.6
28.6
GitHub advisory
org.geotools:gt-complex (Maven)
30.0 to before 30.4
30.4
GitHub advisory
org.geotools:gt-complex (Maven)
31.0 to before 31.2
31.2
GitHub advisory
org.geotools:gt-complex (Maven)
29.0 to before 29.6
29.6
GitHub advisory
org.geotools:gt-complex (Maven)
before 28.6
28.6
GitHub advisory
org.geotools.xsd:gt-xsd-core (Maven)
30.0 to before 30.4
30.4
GitHub advisory
org.geotools.xsd:gt-xsd-core (Maven)
31.0 to before 31.2
31.2
GitHub advisory
org.geotools.xsd:gt-xsd-core (Maven)
29.0 to before 29.6
29.6
GitHub advisory
org.geotools.xsd:gt-xsd-core (Maven)
before 28.6
28.6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 27 May 2024
    CVE ID reserved by GitHub_M.
  2. 2 Jul 2024
    Published in the CVE List.
  3. 2 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other geotools vulnerabilities

Same weakness: Eval injection

All CWE-95 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-36404: Remote code execution in geotools. https://patchminder.com/cve/cve-2024-36404/ (accessed 5 December 2026).