Live threats

All CVEs / Osgeo

CVE-2023-25157Osgeo Geoserver

Critical 9.8 No auth neededHigh EPSS

Priority
75
CVSS 3.1
9.8
EPSS
13.0%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Feb 21, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Geoserver.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.geoserver.community:gs-jdbcconfig < 2.21.4 2.21.4 —
Maven org.geoserver.community:gs-jdbcconfig ≥ 2.22.0 < 2.22.2 2.22.2 —

Per OSV / GitHub Advisories (GHSA-7g5f-wrx8-5ccf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
osgeogeoserver< 2.18.7
osgeogeoserver≥ 2.19.0 < 2.19.7
osgeogeoserver≥ 2.20.0 < 2.20.7
osgeogeoserver≥ 2.21.0 < 2.21.4
osgeogeoserver≥ 2.22.0 < 2.22.2

Official sources

References

Links published by the sources. Open them with care.