Skip to main content
Exploitation reportedNot in CISA KEV yetFix available

CVE-2023-35042

Exploitation reported by one source. First attested on 2023-06-12 by GCVE · kevintel.

  • Published2023-06-12
  • Fixed in2.20.4 · 2.19.6 · 2.18.6

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-06-12Listed as exploited by GCVEGCVE
  2. 2023-06-12Exploitation first reportedGCVE
  3. 2023-06-1215:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 15:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-35042?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-35042?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV
gs-wfs
BranchAffectedFixed in
2.20≥ 2.20.0, < 2.20.42.20.4
2.19≥ 2.19.0, < 2.19.62.19.6
2.18< 2.18.62.18.6
gs-wms
BranchAffectedFixed in
2.20≥ 2.20.0, < 2.20.42.20.4
2.19≥ 2.19.0, < 2.19.62.19.6
2.18< 2.18.62.18.6
gs-wps
BranchAffectedFixed in
2.20≥ 2.20.0, < 2.20.42.20.4
2.19≥ 2.19.0, < 2.19.62.19.6
2.18< 2.18.62.18.6

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • geoserver-2.27Chainguardall versions · no fixed version listed
  • geoserver-3.0Chainguardall versions · fixed in 0

Full record on NVD

Fix

  1. Update gs-wfs to 2.20.4 · 2.19.6 · 2.18.6

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2023-06-12
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-59x6-g4jr-4hxc

Frequently asked questions

What is CVE-2023-35042?

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.

Is CVE-2023-35042 actively exploited?

Active exploitation of CVE-2023-35042 has not been confirmed. Its EPSS score was 44.8% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-35042?

CVE-2023-35042 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running geoserver-3.0? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record