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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.56%, higher than 75% of CVEs (2026-12-02)
- Published: 2022-04-13T21:20:12.000Z
- Modified: 2026-06-17T04:32:39.023Z
- Also known as: GHSA-4pm3-f52j-8ggh
- Weaknesses: CWE-20, CWE-917
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- geoserver geoserver: >= 2.20.0, < 2.20.4; < 2.19.6
- org.geoserver:gs-main (Maven): from 2.20.0 before 2.20.4; before 2.19.6
- osgeo geoserver: before 2.19.6; from 2.20.0 before 2.20.4

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-4pm3-f52j-8ggh> (mitigation, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24847> (advisory)
- <https://github.com/geoserver/geoserver/commit/b94a69943992df999d627b21a4ed056fad4569f8> (web)
- <https://github.com/geoserver/geoserver> (package)

## Sources

- CVE List: [CVE-2022-24847](https://www.cve.org/CVERecord?id=CVE-2022-24847), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-4pm3-f52j-8ggh](https://github.com/advisories/GHSA-4pm3-f52j-8ggh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24847](https://nvd.nist.gov/vuln/detail/CVE-2022-24847), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24847 · Whole record: https://cve.day/CVE-2022-24847.json · Rebuilt by cve.day 2026-11-25T22:58:10.621Z
