Advisories
This weekExploitable · Confirmed

org.geotools:gt-app-schema, org.geotools:gt-complex: GeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressions

There is evidence it can be used, or an emergency alert, without the proof that makes it urgent.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • org.geotools:gt-app-schema (Maven): from 30.0, before 30.4
  • org.geotools:gt-complex (Maven): from 30.0, before 30.4
  • org.geotools.xsd:gt-xsd-core (Maven): from 30.0, before 30.4
  • org.geotools:gt-app-schema (Maven): from 31.0, before 31.2
  • org.geotools:gt-complex (Maven): from 31.0, before 31.2
  • org.geotools.xsd:gt-xsd-core (Maven): from 31.0, before 31.2
  • org.geotools:gt-app-schema (Maven): from 29.0, before 29.6
  • org.geotools:gt-complex (Maven): from 29.0, before 29.6
  • org.geotools.xsd:gt-xsd-core (Maven): from 29.0, before 29.6
  • org.geotools:gt-app-schema (Maven): every version, before 28.6
  • org.geotools:gt-complex (Maven): every version, before 28.6
  • org.geotools.xsd:gt-xsd-core (Maven): every version, before 28.6

The fix

  • org.geotools:gt-app-schema (Maven) fixed in 30.4

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-app-schema -DdepVersion=30.4 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-app-schema
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-app-schema to 30.4 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools:gt-app-schema (Maven) fixed in 31.2

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-app-schema -DdepVersion=31.2 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-app-schema
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-app-schema to 31.2 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools:gt-app-schema (Maven) fixed in 29.6

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-app-schema -DdepVersion=29.6 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-app-schema
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-app-schema to 29.6 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools:gt-app-schema (Maven) fixed in 28.6

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-app-schema -DdepVersion=28.6 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-app-schema
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-app-schema to 28.6 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools:gt-complex (Maven) fixed in 30.4

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-complex -DdepVersion=30.4 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-complex
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-complex to 30.4 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools:gt-complex (Maven) fixed in 31.2

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-complex -DdepVersion=31.2 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-complex
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-complex to 31.2 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools:gt-complex (Maven) fixed in 29.6

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-complex -DdepVersion=29.6 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-complex
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-complex to 29.6 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools:gt-complex (Maven) fixed in 28.6

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools:gt-complex -DdepVersion=28.6 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools:gt-complex
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools:gt-complex to 28.6 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools.xsd:gt-xsd-core (Maven) fixed in 30.4

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools.xsd:gt-xsd-core -DdepVersion=30.4 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools.xsd:gt-xsd-core
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools.xsd:gt-xsd-core to 30.4 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools.xsd:gt-xsd-core (Maven) fixed in 31.2

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools.xsd:gt-xsd-core -DdepVersion=31.2 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools.xsd:gt-xsd-core
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools.xsd:gt-xsd-core to 31.2 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools.xsd:gt-xsd-core (Maven) fixed in 29.6

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools.xsd:gt-xsd-core -DdepVersion=29.6 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools.xsd:gt-xsd-core
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools.xsd:gt-xsd-core to 29.6 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.geotools.xsd:gt-xsd-core (Maven) fixed in 28.6

    maven
    mvn versions:use-dep-version -Dincludes=org.geotools.xsd:gt-xsd-core -DdepVersion=28.6 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.geotools.xsd:gt-xsd-core
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.geotools.xsd:gt-xsd-core to 28.6 or the nearest later release, to fix CVE-2024-36404. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

  • Exploitable · Confirmed

    EPSS puts the chance of exploitation in the next 30 days at 76%.

    FIRST EPSSStated

Timeline

  1. First published here, as "For your digest".
  2. Level changed from "For your digest" to "This week".
  3. Evidence added: EPSS rates exploitation in the next 30 days as more likely than not. (FIRST EPSS)