WaratekVRT Sign in

CVE-2022-24847 GeoServer

Affected softwareGeoServer
Severity7.2 High CVSS 3.1 3 scores
Fixed in2.20.4, 2.19.6
WeaknessExpression language injection (CWE-917)
Published13 Apr 2022
Updated17 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.

  • 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.

EvidenceSourceDetailDate
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

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

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.

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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
PackageIntroducedFixedLast affected
org.geoserver:gs-main 2.20.0 2.20.4 unbounded
org.geoserver:gs-main 0 2.19.6 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
osv org.geoserver gs-main generic < 2.19.6 · ≥ 2.20.0 and < 2.20.4
nvd osgeo geoserver generic < 2.19.6 · ≥ 2.20.0 and < 2.20.4

References

URLTags
https://github.com/geoserver/geoserver/security/advisories/GHSA-4pm3-f52j-8ggh advisory
https://github.com/geoserver/geoserver/commit/b94a69943992df999d627b21a4ed056fad4569f8 WEB
https://github.com/geoserver/geoserver PACKAGE

Timeline

Published2022-04-13By the CVE Program.
VulnCheck KEV: earliest evidence2024-07-16Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
VulnCheck KEV: latest evidence2026-02-11Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.
NVD record modified2026-06-17NVD's own last-modified date for this record.