Critical severity9.8NVD Advisory· Published Feb 21, 2023· Updated Jun 17, 2026
CVE-2023-25158
CVE-2023-25158
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.geotools:gt-jdbcMaven | >= 28.0, < 28.2 | 28.2 |
org.geotools:gt-jdbcMaven | >= 27.0, < 27.4 | 27.4 |
org.geotools:gt-jdbcMaven | >= 26.0, < 26.7 | 26.7 |
org.geotools:gt-jdbcMaven | >= 25.0, < 25.7 | 25.7 |
org.geotools:gt-jdbcMaven | < 24.7 | 24.7 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2bnvdPatchWEB
- github.com/advisories/GHSA-99c3-qc2q-p94mghsaADVISORY
- github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94mnvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-25158ghsaADVISORY
News mentions
0No linked articles in our index yet.