CVE-2023-35042 — Vulnerability in org.geoserver:gs-wms — CVE Details
GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
Summary
Advisory Timeline
- First published June 12, 2023 (1218 days ago).
- Last revised September 10, 2026 — 1186 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.20.4 for org.geoserver:gs-wms -->
<!-- Update pom.xml dependency version to 2.20.4 for org.geoserver:gs-wfs -->
<!-- Update pom.xml dependency version to 2.18.6 for org.geoserver:gs-wps -->
<!-- Update pom.xml dependency version to 2.18.6 for org.geoserver:gs-wms -->
<!-- Update pom.xml dependency version to 2.19.6 for org.geoserver:gs-wms -->
<!-- Update pom.xml dependency version to 2.19.6 for org.geoserver:gs-wps -->
<!-- Update pom.xml dependency version to 2.20.4 for org.geoserver:gs-wps -->
<!-- Update pom.xml dependency version to 2.19.6 for org.geoserver:gs-wfs -->
<!-- Update pom.xml dependency version to 2.18.6 for org.geoserver:gs-wfs -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (9)
Affects 1 ecosystem: maven (3).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.geoserver:gs-wms | maven | All versions | 2.20.4 |
| org.geoserver:gs-wfs | maven | All versions | 2.20.4 |
| org.geoserver:gs-wps | maven | All versions | 2.18.6 |
| org.geoserver:gs-wms | maven | All versions | 2.18.6 |
| org.geoserver:gs-wms | maven | All versions | 2.19.6 |
| org.geoserver:gs-wps | maven | All versions | 2.19.6 |
| org.geoserver:gs-wps | maven | All versions | 2.20.4 |
| org.geoserver:gs-wfs | maven | All versions | 2.19.6 |
| org.geoserver:gs-wfs | maven | All versions | 2.18.6 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-35042ADVISORY
- https://docs.geoserver.org/stable/en/user/services/wps/operations.html#executeWEB
- https://geoserver.org/vulnerability/2022/04/11/geoserver-2-jiffle-jndi-rce.htmlWEB
- https://github.com/geoserver/geoserverPACKAGE
- https://isc.sans.edu/diary/29936WEB
- https://osgeo-org.atlassian.net/browse/GEOS-10458WEB
Frequently Asked Questions
- What is CVE-2023-35042?
- GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-35042?
- CVE-2023-35042 affects org.geoserver:gs-wms, org.geoserver:gs-wfs and org.geoserver:gs-wps. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-35042 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2024-36401CRITICAL
Remote Code Execution (RCE) vulnerability in geoserver
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2023-25157CRITICAL
GeoServer OGC Filter SQL Injection Vulnerabilities
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2024-34711CRITICAL
GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)
- CVE-2025-58360HIGH
GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
- CVE-2025-30220HIGH
[XBOW-025-068] XML External Entity (XXE) Processing Vulnerability in GeoServer WFS Service
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies