VULNERABILITY INTELLIGENCE
CVE-2023-25158
CVSS score9.8 CRITICAL
EPSS probability1.09%
CISA KEVNot currently listed
Published2023-02-21
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- security-advisories@github.com: CWE-89
- nvd@nist.gov: CWE-89
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Mitigation, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mitigation, Vendor Advisory