# CVE-2022-24847: Improper Input Validation in GeoServer

- Priority: **Routine**
- Reason: Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-04-13 · Modified: 2025-04-23
- Aliases: GHSA-4pm3-f52j-8ggh
- Record: https://cvemate.com/vulnerability/CVE-2022-24847 · JSON: https://cvemate.com/vulnerability/CVE-2022-24847/json

## Description

```text
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.
```

## Signals

- CVSS: 7.2 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.56%, percentile 76.083%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- geoserver geoserver: ≥ 2.20.0, \< 2.20.4 \| \< 2.19.6
- org.geoserver gs-main (Maven): ≥ 2.20.0, \< 2.20.4 \| \< 2.19.6
- osgeo geoserver: \< 2.19.6 \| ≥ 2.20.0, \< 2.20.4

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-4pm3-f52j-8ggh>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24847>
- <https://github.com/geoserver/geoserver/commit/b94a69943992df999d627b21a4ed056fad4569f8>
- <https://github.com/geoserver/geoserver>

---

Data as of 2026-12-05T13:42:12.746Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
