Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.geotools/gt-jdbc
  4. ›
  5. CVE-2023-25158

CVE-2023-25158: Improper Neutralization

February 22, 2023

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.

References

  • github.com/advisories/GHSA-99c3-qc2q-p94m
  • github.com/geotools/geotools/commit/64fb4c47f43ca818c2fe96a94651bff1b3b3ed2b
  • github.com/geotools/geotools/security/advisories/GHSA-99c3-qc2q-p94m
  • nvd.nist.gov/vuln/detail/CVE-2023-25158

Code Behaviors & Features

Detect and mitigate CVE-2023-25158 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 24.7, all versions starting from 25.0 before 25.7, all versions starting from 26.0 before 26.7, all versions starting from 27.0 before 27.4, all versions starting from 28.0 before 28.2

Fixed versions

  • 27.4
  • 28.2
  • 25.7
  • 26.7
  • 24.7

Solution

Upgrade to versions 27.4, 28.2, 25.7, 26.7, 24.7 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-707: Improper Neutralization

Source file

maven/org.geotools/gt-jdbc/CVE-2023-25158.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.