CVE-2023-25158 — Vulnerability in org.geotools:gt-jdbc — CVE Details
GeoTools OGC Filter SQL Injection Vulnerabilities
Summary
Advisory Timeline
- First published February 22, 2023 (1328 days ago).
- Last revised November 8, 2023 — 258 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 28.2 for org.geotools:gt-jdbc -->
<!-- Update pom.xml dependency version to 27.4 for org.geotools:gt-jdbc -->
<!-- Update pom.xml dependency version to 25.7 for org.geotools:gt-jdbc -->
<!-- Update pom.xml dependency version to 26.7 for org.geotools:gt-jdbc -->
<!-- Update pom.xml dependency version to 24.7 for org.geotools:gt-jdbc -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.geotools:gt-jdbc | maven | All versions | 28.2 |
| org.geotools:gt-jdbc | maven | All versions | 27.4 |
| org.geotools:gt-jdbc | maven | All versions | 25.7 |
| org.geotools:gt-jdbc | maven | All versions | 26.7 |
| org.geotools:gt-jdbc | maven | All versions | 24.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2023-25158?
- GeoTools OGC Filter SQL Injection Vulnerabilities This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-25158?
- CVE-2023-25158 affects org.geotools:gt-jdbc. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-25158 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- GHSA-826p-4gcg-35vwCRITICAL
GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2026-76904CRITICAL
GeoTools has unauthenticated SQL injection in the jsonArrayContains filter function against PostGIS layers
- CVE-2024-36404CRITICAL
GeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressions
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies