CVE-2022-24847 GeoServer
| Affected software | GeoServer |
|---|---|
| Severity | 7.2 High CVSS 3.1 3 scores |
| Fixed in | 2.20.4, 2.19.6 |
| Weakness | Expression language injection (CWE-917) |
| Published | 13 Apr 2022 |
| Updated | 17 Jun 2026 |
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.
CWE-20 · Improper input validation
Exploitation status
Exploited
Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV listed Exploitation reported in the wild. 16 citations · earliest 2024-07-16.
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 1.6% chance in 30 days
VulnCheck KEV
Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2022-24847 in VulnCheck (free account), which lists 11 more citations not shown here.
| Evidence | Source | Detail | Date |
|---|---|---|---|
| Reported exploitation | f5.com | /labs/articles/threat-intelligence/2024-ddos-attack-trends | 2024-07-16 |
| Reported exploitation | f5.com | /labs/articles/threat-intelligence/sensor-intel-series-top-cves-june-2024 | 2024-07-25 |
| Reported exploitation | f5.com | /labs/articles/threat-intelligence/sensor-intel-series-top-cves-august-2024 | 2024-09-19 |
| Reported exploitation | f5.com | /labs/articles/threat-intelligence/botpoke-scanner-switches-ip | 2024-11-25 |
| Reported exploitation | f5.com | /labs/articles/threat-intelligence/scanning-for-credentials-and-botpoke-changes-ips-again | 2024-12-09 |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Deserialization, Process
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's description identifies a deserialization vulnerability. Matched by description (CWE-20, CWE-917 were assigned, but none settles the class on its own). |
| Candidate fix | https://github.com/geoserver/geoserver/security/advisories/GHSA-4pm3-f52j-8ggh : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases |
How to mitigate CVE-2022-24847
Upgrade GeoServer to a release that fixes it: 2.20.4 or 2.19.6. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.
CVSS
7.2 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
3 metrics
CVSS
7.2 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
3 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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 |
security-advisories@github.com | Secondary | published |
| 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 | Primary | |
| CVSS 2.0 | 6.5 | none | AV:N/AC:L/Au:S/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.geoserver:gs-main |
2.20.0 | 2.20.4 |
unbounded |
org.geoserver:gs-main |
0 | 2.19.6 |
unbounded |
References
Timeline
Timeline
| Published | 2022-04-13 | By the CVE Program. |
|---|---|---|
| VulnCheck KEV: earliest evidence | 2024-07-16 | Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE. |
| VulnCheck KEV: latest evidence | 2026-02-11 | Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record. |
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |