CVE-2023-25158

CRITICAL EXPLOITED

Geotools < 24.7 - SQL Injection

Title source: rule

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.

Exploits (1)

vulncheck_xdb WRITEUP
remote
https://github.com/murataydemir/CVE-2023-25157-and-CVE-2023-25158

Scores

CVSS v3 9.8
EPSS 0.0445
EPSS Percentile 89.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

VulnCheck KEV 2020-09-22
CWE
CWE-89
Status published
Products (2)
geotools/geotools < 24.7
org.geotools/gt-jdbc 28.0 - 28.2Maven
Published Feb 21, 2023
Tracked Since Feb 18, 2026