CVE-2023-25157
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
21/02/2023
Last modified:
07/11/2023
Description
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.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | 2.18.7 (excluding) | |
| cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | 2.19.0 (including) | 2.19.7 (excluding) |
| cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | 2.20.0 (including) | 2.20.7 (excluding) |
| cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | 2.21.0 (including) | 2.21.4 (excluding) |
| cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | 2.22.0 (including) | 2.22.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



