CVE-2022-24847 json
Improper Input Validation in GeoServer
published 2022-04-13 4 y ago modified 2026-06-17 4 mo ago also GHSA-4pm3-f52j-8ggh , EUVD-2022-1623
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.geoserver:gs-main 2.19.6, 2.20.4
- osgeo geoserver 2.19.6, 2.20.4
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.56% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.geoserver:gs-main | >=2.20.0, <2.20.4 <2.19.6 |
2.20.4 2.19.6 |
Affected products
- geoserver geoserver
Classification
References
-
github.com
/geoserver/geoserver/commit/b94a69943992df999d627b21a4ed056fad4569f8
web
-
github.com
/geoserver/geoserver/security/advisories/GHSA-4pm3-f52j-8ggh
web, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24847
advisory
-
github.com
/geoserver/geoserver
package
Sources
- CVE List CVE-2022-24847
- GitHub Advisory GHSA-4pm3-f52j-8ggh
- NVD CVE-2022-24847
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.