CVE-2023-25158

GeoTools is an open source Java library that provides tools for geospatial data. GeoTools includes support for OGC Filter expression language parsing, encoding and execution against a range of datastore. SQL Injection Vulnerabilities have been found when executing OGC Filters with JDBCDataStore implementations. Users are advised to upgrade to either version 27.4 or to 28.2 to resolve this issue. Users unable to upgrade may disable `encode functions` for PostGIS DataStores or enable `prepared statements` for JDBCDataStores as a partial mitigation.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*
cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*
cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*
cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*
cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*

History

02 Mar 2023, 22:36

Type Values Removed Values Added
References (MISC) https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m - (MISC) https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m - Mitigation, Vendor Advisory
References (MISC) https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b - (MISC) https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Geotools
Geotools geotools
CWE CWE-89
CPE cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*

21 Feb 2023, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-02-21 21:15

Updated : 2023-12-10 14:48


NVD link : CVE-2023-25158

Mitre link : CVE-2023-25158

CVE.ORG link : CVE-2023-25158


JSON object : View

Products Affected

geotools

  • geotools
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')