CVE-2023-25158

CRITICALCVSS 9.8/10EPSS 1.07%

Last modified

CVE-2023-25158 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.07% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.07%

60.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GeotoolsGeotools< 24.7
GeotoolsGeotools>= 25.0, < 25.7
GeotoolsGeotools>= 26.0, < 26.7
GeotoolsGeotools>= 27.0, < 27.4
GeotoolsGeotools>= 28.0, < 28.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-25158?
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.
How severe is CVE-2023-25158?
CVE-2023-25158 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.07% probability of exploitation in the next 30 days.
How do I fix CVE-2023-25158?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-25158?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST