CVE-2023-25158: critical vulnerability in geotools
Unfiltered SQL Injection in Geotools
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
70Vexday Risk Score
Prioritize patching. It exploitation observed by VulnCheck and has a public proof of concept.
ssvc Actcvss 9.8epss 1.1%
from disclosure to weapon110 days
Published on NVDFeb 21
1st PoC+110d
VulnCheckSep 22
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
geotools · geotoolspublic PoCs found — 1
vulncheckvulncheck.com/xdb/bbe6519782d5unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — geotools
In the same product, most dangerous first.
CVE-2024-36404CRITICALGeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressionsEPSS 76.1%CVE-2026-76904CRITICALGeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layersEPSS 4.0%CVE-2022-24818HIGHUnchecked JNDI lookups in GeoToolsEPSS 2.4%