Security mailing lists by PureSourceCode

CVE-2023-25157

CRITICAL 9.8CVSS 3.1

GeoServer OGC Filter SQL Injection Vulnerabilities

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. GeoServer includes support for the OGC Filter expression language and the OGC Common Query Language (CQL) as part of the Web Feature Service (WFS) and Web Map Service (WMS) protocols. CQL is also supported through the Web Coverage Service (WCS) protocol for ImageMosaic coverages. Users are advised to upgrade to either version 2.21.4, or version 2.22.2 to resolve this issue. Users unable to upgrade should disable the PostGIS Datastore encode functions setting to mitigate strEndsWith, strStartsWith and PropertyIsLike misuse and enable the PostGIS DataStore preparedStatements setting to mitigate the FeatureId misuse.

Published
21 Feb 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-7g5f-wrx8-5ccf
Sources
NVDJSONOSV GHSA-7g5f-wrx8-5ccfJSON

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 geoserver
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
< 2.18.7 2.18.7
NVD osgeo geoserver
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
>= 2.19.0, < 2.19.7 2.19.7
NVD osgeo geoserver
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
>= 2.20.0, < 2.20.7 2.20.7
NVD osgeo geoserver
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
>= 2.21.0, < 2.21.4 2.21.4
NVD osgeo geoserver
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
>= 2.22.0, < 2.22.2 2.22.2
OSV Maven org.geoserver.community:gs-jdbcconfig < 2.21.4 2.21.4
OSV Maven org.geoserver.community:gs-jdbcconfig >= 2.22.0, < 2.22.2 2.22.2

References

History

  • 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.