CVE-2023-35042
CRITICAL 9.8CVSS 3.1GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request, as exploited in the wild in June 2023. NOTE: the vendor states that they are unable to reproduce this in any version.
- Published
- 12 Jun 2023
- Last modified
- 30 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-59x6-g4jr-4hxc
- Sources
- NVDJSONOSV GHSA-59x6-g4jr-4hxcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osgeo | geoservercpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* |
>= 2.0.0 | |
| OSV | Maven | org.geoserver:gs-wms | < 2.18.6 | 2.18.6 |
| OSV | Maven | org.geoserver:gs-wfs | < 2.18.6 | 2.18.6 |
| OSV | Maven | org.geoserver:gs-wms | >= 2.19.0, < 2.19.6 | 2.19.6 |
| OSV | Maven | org.geoserver:gs-wfs | >= 2.19.0, < 2.19.6 | 2.19.6 |
| OSV | Maven | org.geoserver:gs-wms | >= 2.20.0, < 2.20.4 | 2.20.4 |
| OSV | Maven | org.geoserver:gs-wfs | >= 2.20.0, < 2.20.4 | 2.20.4 |
| OSV | Maven | org.geoserver:gs-wps | < 2.18.6 | 2.18.6 |
| OSV | Maven | org.geoserver:gs-wps | >= 2.19.0, < 2.19.6 | 2.19.6 |
| OSV | Maven | org.geoserver:gs-wps | >= 2.20.0, < 2.20.4 | 2.20.4 |
References
- https://docs.geoserver.org/stable/en/user/services/wps/operations.html#execute · Product, WEB
- https://isc.sans.edu/diary/29936 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-35042 · ADVISORY
- https://geoserver.org/vulnerability/2022/04/11/geoserver-2-jiffle-jndi-rce.html · WEB
- https://github.com/geoserver/geoserver · PACKAGE
- https://osgeo-org.atlassian.net/browse/GEOS-10458 · WEB
History
- 30 Nov 2026 19:41 UTC · NVD: affected list changed (1 entry)
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 12 Jun 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2023)