Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT:CVE-2024-36404
HistoryJul 02, 2024 - 1:39 p.m.

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

2024-07-0213:39:35
CWE-95
GitHub_M
github.com
5
geotools
rce
vulnerability
xpath
evaluation
java library
geospatial data
fix
workaround
jar
sourceforge
application schema
datastore

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7.5

Confidence

High

SSVC

Exploitation

none

Automatable

yes

Technical Impact

total

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*"
    ],
    "vendor": "geotools",
    "product": "geotools",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "29.6",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:2.3:a:geotools:geotools:30.0:-:*:*:*:*:*:*"
    ],
    "vendor": "geotools",
    "product": "geotools",
    "versions": [
      {
        "status": "affected",
        "version": "30.0",
        "lessThan": "30.4",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  },
  {
    "cpes": [
      "cpe:2.3:a:geotools:geotools:31.0:-:*:*:*:*:*:*"
    ],
    "vendor": "geotools",
    "product": "geotools",
    "versions": [
      {
        "status": "affected",
        "version": "31.0",
        "lessThan": "31.2",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

References

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7.5

Confidence

High

SSVC

Exploitation

none

Automatable

yes

Technical Impact

total

Related for VULNRICHMENT:CVE-2024-36404