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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.geoserver:gs-wfs | < 2.18.6 | 2.18.6 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wfs | >= 2.19.0, < 2.19.6 | 2.19.6 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wfs | >= 2.20.0, < 2.20.4 | 2.20.4 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wms | < 2.18.6 | 2.18.6 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wms | >= 2.19.0, < 2.19.6 | 2.19.6 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wms | >= 2.20.0, < 2.20.4 | 2.20.4 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wps | < 2.18.6 | 2.18.6 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wps | >= 2.19.0, < 2.19.6 | 2.19.6 | GHSA-59x6-g4jr-4hxc |
| Maven | org.geoserver:gs-wps | >= 2.20.0, < 2.20.4 | 2.20.4 | GHSA-59x6-g4jr-4hxc |