CVE-2022-24847
Improper Input Validation in GeoServer
Also known as GHSA-4pm3-f52j-8ggh
Mitigation
- Upgrade org.geoserver:gs-main to one of 2.20.4, 2.19.6 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.geoserver:gs-main (>= 2.20.0, < 2.20.4)
- Anyone running geoserver >= 2.20.0, < 2.20.4; < 2.19.6
Vulnerability facts
- Affected
- org.geoserver:gs-main >= 2.20.0, < 2.20.4
- Fixed in
- 2.20.4, 2.19.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.49% chance of exploitation in 30 days (percentile 74, 2026-11-26)
- CWE
- CWE-20
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.geoserver:gs-main | >= 2.20.0, < 2.20.4 | 2.20.4, 2.19.6 | osv |
| geoserver | >= 2.20.0, < 2.20.4; < 2.19.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-24847. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-24847.md Affected: org.geoserver:gs-main >= 2.20.0, < 2.20.4 Fixed in: 2.20.4, 2.19.6 Steps: 1. Search this machine and project for org.geoserver:gs-main (Maven), geoserver: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-24847 being exploited?
There is no confirmed exploitation: CVE-2022-24847 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-24847?
High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2022-24847?
org.geoserver:gs-main >= 2.20.0, < 2.20.4.
Is there a fix for CVE-2022-24847?
Yes. Fixed in 2.20.4, 2.19.6. Upgrade org.geoserver:gs-main to one of 2.20.4, 2.19.6 (or later in the same release line).
How do I check if I'm affected by CVE-2022-24847?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.