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.
References
Link | Resource |
---|---|
https://github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b | Patch |
https://github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m | Mitigation Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2023-02-21T20:57:47.754Z
Updated: 2023-02-21T20:57:47.754Z
Reserved: 2023-02-03T16:59:18.244Z
Link: CVE-2023-25158
JSON object: View
NVD Information
Status : Analyzed
Published: 2023-02-21T21:15:11.157
Modified: 2023-03-02T22:36:03.813
Link: CVE-2023-25158
JSON object: View
Redhat Information
No data.
CWE