WaratekVRT Sign in

CVE-2023-35042 GeoServer

Affected softwareGeoServer
Severity9.8 Critical CVSS 3.1
Fixed in2.18.6, 2.19.6, 2.20.4
Published12 Jun 2023
Updated17 Jun 2026

Disputed. The record is tagged disputed: someone contests that the vulnerability exists. We still show our assessment, because the dispute is about whether the vulnerability exists, not whether Waratek can block it.

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.

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 3 citations · earliest 2023-06-12.
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 45% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2023-35042 in VulnCheck (free account).

EvidenceSourceDetailDate
Reported exploitation nvd.nist.gov /vuln/detail/CVE-2023-35042 2023-06-12
Reported exploitation cve.org /CVERecord?id=CVE-2023-35042 2023-06-12
Reported exploitation 1665891.fs1.hubspotusercontent-na1.net /hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.pdf 2024-05-10

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record disputed disputed
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.geoserver:gs-wms, org.geoserver:gs-wfs, org.geoserver:gs-wps), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.geoserver:gs-wms 0 2.18.6 unbounded
org.geoserver:gs-wfs 0 2.18.6 unbounded
org.geoserver:gs-wms 2.19.0 2.19.6 unbounded
org.geoserver:gs-wfs 2.19.0 2.19.6 unbounded
org.geoserver:gs-wms 2.20.0 2.20.4 unbounded
org.geoserver:gs-wfs 2.20.0 2.20.4 unbounded
org.geoserver:gs-wps 0 2.18.6 unbounded
org.geoserver:gs-wps 2.19.0 2.19.6 unbounded
org.geoserver:gs-wps 2.20.0 2.20.4 unbounded

Products and versions

4 products, 10 version entries
SourceVendorProductSchemeAffected versions
nvd geoserver geoserver generic ≥ 2.0.0
osv org.geoserver gs-wfs generic < 2.18.6 · ≥ 2.19.0 and < 2.19.6 · ≥ 2.20.0 and < 2.20.4
osv org.geoserver gs-wms generic < 2.18.6 · ≥ 2.19.0 and < 2.19.6 · ≥ 2.20.0 and < 2.20.4
osv org.geoserver gs-wps generic < 2.18.6 · ≥ 2.19.0 and < 2.19.6 · ≥ 2.20.0 and < 2.20.4

References

URLTags
https://docs.geoserver.org/stable/en/user/services/wps/operations.html#execute WEB
https://geoserver.org/vulnerability/2022/04/11/geoserver-2-jiffle-jndi-rce.html WEB
https://github.com/geoserver/geoserver PACKAGE
https://isc.sans.edu/diary/29936 WEB
https://osgeo-org.atlassian.net/browse/GEOS-10458 WEB

Timeline

Published2023-06-12By the CVE Program.
VulnCheck KEV: earliest evidence2023-06-12Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
VulnCheck KEV: latest evidence2024-05-10Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.
NVD record modified2026-06-17NVD's own last-modified date for this record.