VYPR
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.

PackageAffected versionsPatched versions
org.geotools:gt-jdbcMaven
>= 28.0, < 28.228.2
org.geotools:gt-jdbcMaven
>= 27.0, < 27.427.4
org.geotools:gt-jdbcMaven
>= 26.0, < 26.726.7
org.geotools:gt-jdbcMaven
>= 25.0, < 25.725.7
org.geotools:gt-jdbcMaven
< 24.724.7

Affected products

2

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.