High severity · published Apr 13, 2022
CVE-2022-24847
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
7.2
CVSS
1.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 75% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GE
Geoserver · Osgeo
before 2.19.6; 2.20.0 before 2.20.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-24847
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-24847
Mitigation
https://github.com/geoserver/geoserver/security/advisories/GHSA-4pm3-f52j-8ggh
More from Geoserver
9.8
CVE-2025-58360
GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
9.8
CVE-2024-36401
Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver
9.8
CVE-2023-43795
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
9.8
CVE-2023-25157
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data
9.1
CVE-2025-30220
GeoServer is an open source server that allows users to share and edit geospatial data
