Patchfirst
CVE-2022-24847 High · 7.2 EPSS 1.6%

Improper Input Validation in GeoServer

Fix:upgrade gs-main to 2.20.4 or later Details ↓

geoserver · geoserver

Official description · CVE.org

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. The same can happen while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism. In order to perform any of the above changes, the attack needs to have obtained admin rights and use either the GeoServer GUI, or its REST API. The lookups are going to be restricted in GeoServer 2.21.0, 2.20.4, 1.19.6. Users unable to upgrade should restrict access to the `geoserver/web` and `geoserver/rest` via a firewall and ensure that the GeoWebCache is not remotely accessible.

Breakdown
57.1 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 2 years after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+2 yrs

4 fixes in gs-main over 4 years. The latest fix listed for gs-main is 2.27.3.

Fixes in gs-mainMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 2.20.4CVE-2022-2484713 Apr 2022
  2. 2.23.3CVE-2024-2364020 Mar 2024
  3. 2.25.1CVE-2024-346961 Jul 2024
  4. 2.27.3CVE-2025-5817518 Jun 2026Latest listed

Affected versions and fixes

as published in the CVE record

geoserver geoserver

Affected: >= 2.20.0, < 2.20.4 · < 2.19.6

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.geoserver:gs-main.

Mavenorg.geoserver:gs-mainGHSA-4pm3-f52j-8ggh

Upgrade to 2.20.4 or later

Set the version to 2.20.4 or later in your pom.xml or build.gradle.

The first fix for CVE-2022-24847.

Affected versions, by release line

If you runUpgrade to
2.20.0 up to 2.20.42.20.4
All versions before 2.19.62.19.6

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 6 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close