Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.geoserver.community/gs-jdbcconfig
  4. ›
  5. CVE-2023-25157

CVE-2023-25157: GeoServer OGC Filter SQL Injection Vulnerabilities

February 22, 2023

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.

References

  • github.com/advisories/GHSA-7g5f-wrx8-5ccf
  • github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d
  • github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf
  • nvd.nist.gov/vuln/detail/CVE-2023-25157

Code Behaviors & Features

Detect and mitigate CVE-2023-25157 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 2.21.4, all versions starting from 2.22.0 before 2.22.2

Fixed versions

  • 2.21.4
  • 2.22.2

Solution

Upgrade to versions 2.21.4, 2.22.2 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

Source file

maven/org.geoserver.community/gs-jdbcconfig/CVE-2023-25157.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:02 +0000.