What’s Vulnerable › Vulnerabilities
CVE-2022-24846: Unchecked JNDI lookups in GeoWebCache
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-04-14 · updated 2026-06-17
- Weakness: CWE-20
Description
GeoWebCache is a tile caching server implemented in Java. The GeoWebCache disk quota mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. While in GeoWebCache the JNDI strings are provided via local configuration file, in GeoServer a user interface is provided to perform the same, that can be accessed remotely, and requires admin-level login to be used. These lookup are unrestricted in scope and can lead to code execution. The lookups are going to be restricted in GeoWebCache 1.21.0, 1.20.2, 1.19.3.
Affected products
- geowebcache: before 1.19.3; from 1.20.0 before 1.20.2 — fixed in 1.19.3, 1.20.2
How to fix
Upgrade to a fixed version: geowebcache 1.19.3, 1.20.2. Check the vendor advisory for mitigations.
References
- https://github.com/GeoWebCache/geowebcache/security/advisories/GHSA-4v22-v8jp-438r
- https://github.com/GeoWebCache/geowebcache/security/advisories/GHSA-4v22-v8jp-438r
Get alerted when CVE-2022-24846 or the next vulnerability affects your stack