CVE-2024-36401: Vulnerability in Geoserver
Actively exploited. GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2, 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.
Exploited in the wild, Maven, CWE-95, CWE-94
- Exploitation
- Confirmed 15 Jul 2024
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 5 Aug 2024
Details
- Advisory ID
- GHSA-6jj6-gm7p-fcvv
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-95, CWE-94
- Published
- 1 Jul 2024
- Last change
- 30 Nov 2026
- Ecosystem
- Maven
Affected products
Affected versions and the first fixed release
- Geoserver Before 2.22.6; From 2.23.0 before 2.23.6; From 2.24.0 before 2.24.4; From 2.25.0 before 2.25.2. Fixed in 2.22.6, 2.23.6, 2.24.4, 2.25.2
- Geotools Before 29.6; From 30.1 before 30.4; From 31.1 before 31.2; Versions 30.0, 31.0. Fixed in 29.6, 30.4, 31.2
- Osgeo Geoserver Before 2.22.6; From 2.23.0 before 2.23.6; From 2.24.0 before 2.24.4; From 2.25.0 before 2.25.2. Fixed in 2.22.6, 2.23.6, 2.24.4, 2.25.2
- Osgeo Geotools Before 29.6; From 30.1 before 30.4; From 31.1 before 31.2; Versions 30.0, 31.0. Fixed in 29.6, 30.4, 31.2
Affected packages
Vulnerable version ranges and fixed releases
- org.geoserver.web:gs-web-app Maven, Affected from 2.24.0 before 2.24.4. Fixed in 2.24.4
- org.geoserver:gs-wfs Maven, Affected from 2.24.0 before 2.24.4. Fixed in 2.24.4
- org.geoserver:gs-wms Maven, Affected from 2.24.0 before 2.24.4. Fixed in 2.24.4
Advisories
Vendor and security advisories
- github.com/Warxim/CVE-2022-41852
- github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv
- github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w
- osgeo-org.atlassian.net/browse/GEOT-7587
- vicarius.io/vsociety/posts/geoserver-rce-cve-2024-36401
Patches and fixes
Updates, commits and release notes
Related
- Geoserver vulnerabilities Recent advisories, watch this product
- Geotools vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only