Security mailing lists by PureSourceCode

CVE-2023-25158

CRITICAL 9.8CVSS 3.1

GeoTools OGC Filter SQL Injection Vulnerabilities

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.

Published
21 Feb 2023
Last modified
30 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-99c3-qc2q-p94m
Sources
NVDJSONOSV GHSA-99c3-qc2q-p94mJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD osgeo geotools
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*
< 24.7 24.7
NVD osgeo geotools
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*
>= 25.0, < 25.7 25.7
NVD osgeo geotools
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*
>= 26.0, < 26.7 26.7
NVD osgeo geotools
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*
>= 27.0, < 27.4 27.4
NVD osgeo geotools
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*
>= 28.0, < 28.2 28.2
OSV Maven org.geotools:gt-jdbc >= 28.0, < 28.2 28.2
OSV Maven org.geotools:gt-jdbc >= 27.0, < 27.4 27.4
OSV Maven org.geotools:gt-jdbc >= 26.0, < 26.7 26.7
OSV Maven org.geotools:gt-jdbc >= 25.0, < 25.7 25.7
OSV Maven org.geotools:gt-jdbc < 24.7 24.7

References

History

  • 30 Nov 2026 19:41 UTC · NVD: affected list changed (5 entries)
  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Feb 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.