Skip to content
Fencer Intel
critical 9.8

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 Fencer

CISA 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

Sources

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.