Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.geoserver/gs-wfs
  4. ›
  5. CVE-2023-35042

CVE-2023-35042: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

June 12, 2023 (updated September 19, 2023)

** DISPUTED ** 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.

References

  • docs.geoserver.org/stable/en/user/services/wps/operations.html
  • geoserver.org/vulnerability/2022/04/11/geoserver-2-jiffle-jndi-rce.html
  • github.com/advisories/GHSA-59x6-g4jr-4hxc
  • isc.sans.edu/diary/29936
  • nvd.nist.gov/vuln/detail/CVE-2023-35042
  • osgeo-org.atlassian.net/browse/GEOS-10458

Code Behaviors & Features

Detect and mitigate CVE-2023-35042 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.18.6, all versions starting from 2.19.0 before 2.19.6, all versions starting from 2.20.0 before 2.20.4

Fixed versions

  • 2.18.6
  • 2.19.6
  • 2.20.4

Solution

Upgrade to versions 2.18.6, 2.19.6, 2.20.4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.geoserver/gs-wfs/CVE-2023-35042.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.