Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.geoserver/gs-wms
  4. ›
  5. CVE-2024-36401

CVE-2024-36401: Remote Code Execution (RCE) vulnerability in geoserver

July 1, 2024 (updated March 19, 2025)

Multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users through specially crafted input against a default GeoServer installation due to unsafely evaluating property names as XPath expressions.

References

  • github.com/Warxim/CVE-2022-41852?tab=readme-ov-file
  • github.com/advisories/GHSA-6jj6-gm7p-fcvv
  • github.com/geoserver/geoserver
  • github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv
  • github.com/geotools/geotools/pull/4797
  • github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w
  • nvd.nist.gov/vuln/detail/CVE-2024-36401
  • osgeo-org.atlassian.net/browse/GEOT-7587
  • www.vicarius.io/vsociety/posts/geoserver-rce-cve-2024-36401

Code Behaviors & Features

Detect and mitigate CVE-2024-36401 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.22.6, all versions starting from 2.23.0 before 2.23.6, all versions starting from 2.24.0 before 2.24.4, all versions starting from 2.25.0 before 2.25.2

Fixed versions

  • 2.24.4
  • 2.25.2
  • 2.23.6
  • 2.22.6

Solution

Upgrade to versions 2.22.6, 2.23.6, 2.24.4, 2.25.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

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

maven/org.geoserver/gs-wms/CVE-2024-36401.yml

Spotted a mistake? Edit the file on GitLab.

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

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