Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.geotools.xsd/gt-xsd-core
  4. ›
  5. CVE-2024-36404

CVE-2024-36404: GeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressions

February 5, 2025

Remote Code Execution (RCE) is possible if an application uses certain GeoTools functionality to evaluate XPath expressions supplied by user input.

References

  • github.com/Warxim/CVE-2022-41852?tab=readme-ov-file
  • github.com/advisories/GHSA-w3pj-wh35-fq8w
  • github.com/geotools/geotools
  • github.com/geotools/geotools/commit/f0c9961dc4d40c5acfce2169fab92805738de5ea
  • github.com/geotools/geotools/pull/4797
  • github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w
  • nvd.nist.gov/vuln/detail/CVE-2024-36404
  • osgeo-org.atlassian.net/browse/GEOT-7587
  • sourceforge.net/projects/geotools/files/GeoTools%2024%20Releases/24.0/geotools-24.0-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2025%20Releases/25.2/geotools-25.2-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2026%20Releases/26.4
  • sourceforge.net/projects/geotools/files/GeoTools%2026%20Releases/26.7/geotools-26.7-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2027%20Releases/27.4/geotools-27.4-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2027%20Releases/27.5/geotools-27.5-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2028%20Releases/28.2/geotools-28.2-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2029%20Releases/29.2/geotools-29.2-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2030%20Releases/30.2/geotools-30.2-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2030%20Releases/30.3/geotools-30.3-patches.zip/download
  • sourceforge.net/projects/geotools/files/GeoTools%2031%20Releases/31.1

Code Behaviors & Features

Detect and mitigate CVE-2024-36404 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 28.6, all versions starting from 29.0 before 29.6, all versions starting from 30.0 before 30.4, all versions starting from 31.0 before 31.2

Fixed versions

  • 30.4
  • 31.2
  • 29.6
  • 28.6

Solution

Upgrade to versions 28.6, 29.6, 30.4, 31.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

maven/org.geotools.xsd/gt-xsd-core/CVE-2024-36404.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.