CVE-2023-35042 in the critical feed json
GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
published 3y ago modified 2mo ago also GHSA-59x6-g4jr-4hxc , EUVD-2023-1696
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 44.8%
- EPSS 44.8% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.geoserver:gs-wms 2.18.6, 2.19.6, 2.20.4
- maven org.geoserver:gs-wfs 2.18.6, 2.19.6, 2.20.4
- maven org.geoserver:gs-wps 2.18.6, 2.19.6, 2.20.4
Is CVE-2023-35042 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
44.83% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.geoserver:gs-wms | <2.18.6 >=2.19.0, <2.19.6 >=2.20.0, <2.20.4 |
2.18.6 2.19.6 2.20.4 |
| maven | org.geoserver:gs-wfs | <2.18.6 >=2.19.0, <2.19.6 >=2.20.0, <2.20.4 |
2.18.6 2.19.6 2.20.4 |
| maven | org.geoserver:gs-wps | <2.18.6 >=2.19.0, <2.19.6 >=2.20.0, <2.20.4 |
2.18.6 2.19.6 2.20.4 |
References
-
isc.sans.edu
/diary/29936
web, third-party-advisory
-
docs.geoserver.org
/stable/en/user/services/wps/operations.html#execute
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-35042
advisory
-
geoserver.org
/vulnerability/2022/04/11/geoserver-2-jiffle-jndi-rce.html
web
-
github.com
/geoserver/geoserver
package
-
osgeo-org.atlassian.net
/browse/GEOS-10458
web
Sources
- CVE List CVE-2023-35042
- GitHub Advisory GHSA-59x6-g4jr-4hxc
- NVD CVE-2023-35042
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.