CVE-2023-35042
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductGeoserver
PublishedJun 12, 2023
First seenJun 12, 2023
How to fix
Update
- org.geoserver:gs-wms2.18.6, 2.19.6, 2.20.4 or later
- org.geoserver:gs-wfs2.18.6, 2.19.6, 2.20.4 or later
- org.geoserver:gs-wps2.18.6, 2.19.6, 2.20.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| geoserver geoserver | 2.0.0 ≤ v | — |
| org.geoserver:gs-wmsMaven | v < 2.18.6, 2.19.0 ≤ v < 2.19.6, 2.20.0 ≤ v < 2.20.4 | 2.18.6, 2.19.6, 2.20.4 |
| org.geoserver:gs-wfsMaven | v < 2.18.6, 2.19.0 ≤ v < 2.19.6, 2.20.0 ≤ v < 2.20.4 | 2.18.6, 2.19.6, 2.20.4 |
| org.geoserver:gs-wpsMaven | v < 2.18.6, 2.19.0 ≤ v < 2.19.6, 2.20.0 ≤ v < 2.20.4 | 2.18.6, 2.19.6, 2.20.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.