{"cve":"CVE-2023-35042","nvd":{"published":"2023-06-12T15:15:09.820","modified":"2026-06-17T06:04:19.420","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":[],"references":["https://docs.geoserver.org/stable/en/user/services/wps/operations.html#execute","https://isc.sans.edu/diary/29936","https://docs.geoserver.org/stable/en/user/services/wps/operations.html#execute","https://isc.sans.edu/diary/29936"],"products":["geoserver:geoserver"],"source":"nvd","synced_at":"2026-10-19T21:38:24.161619714+00:00"},"epss":{"cve":"CVE-2023-35042","score":0.44825,"percentile":0.98775,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-59x6-g4jr-4hxc","url":"https://osv.dev/vulnerability/GHSA-59x6-g4jr-4hxc","summary":"GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language","modified":"2026-09-10T03:50:02.415609882Z","packages":[{"ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":["<2.18.6"],"fixed":["2.18.6"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","ranges":["<2.18.6"],"fixed":["2.18.6"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":[">=2.19.0 <2.19.6"],"fixed":["2.19.6"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","ranges":[">=2.19.0 <2.19.6"],"fixed":["2.19.6"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","ranges":[">=2.20.0 <2.20.4"],"fixed":["2.20.4"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wfs","purl":"pkg:maven/org.geoserver/gs-wfs","ranges":[">=2.20.0 <2.20.4"],"fixed":["2.20.4"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wps","purl":"pkg:maven/org.geoserver/gs-wps","ranges":["<2.18.6"],"fixed":["2.18.6"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wps","purl":"pkg:maven/org.geoserver/gs-wps","ranges":[">=2.19.0 <2.19.6"],"fixed":["2.19.6"]},{"ecosystem":"Maven","name":"org.geoserver:gs-wps","purl":"pkg:maven/org.geoserver/gs-wps","ranges":[">=2.20.0 <2.20.4"],"fixed":["2.20.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}