CVE-2022-24818: Unchecked JNDI lookups in GeoTools
Vulnerability summary
CVE-2022-24818 is a high (CVSS 8.2) Improper Input Validation vulnerability in geotools. EPSS estimates a 2.41% chance of exploitation in the next 30 days, higher than 84.6% of scored vulnerabilities.
Not severe (CVSS 8.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 13-04-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
GeoTools is an open source Java library that provides tools for geospatial data. The GeoTools library has a number of data sources that can perform unchecked JNDI lookups, which in turn can be used to perform class deserialization and result in arbitrary code execution. Similar to the Log4J case, the vulnerability can be triggered if the JNDI names are user-provided, but requires admin-level login to be triggered. The lookups are now restricted in GeoTools 26.4, GeoTools 25.6, and GeoTools 24.6. Users unable to upgrade should ensure that any downstream application should not allow usage of remotely provided JNDI strings.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
2.41%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-917Improper Neutralization of Special Elements used in an Expression Language StatementThe product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.
Affected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Geotools1 product
- geotools< 24.6 | ≥ 25.0, < 25.6 | ≥ 26.0, < 26.4
Osgeo1 product
- geotools< 24.6 | ≥ 25.0, < 25.6 | ≥ 26.0, < 26.4
2 vendors · 2 products
References
2 links- github.com/geotools/geotools/security/advisories/GHSA-jvh2-668r-g75xX Refsource CONFIRMThird Party Advisory
- github.com/geotools/geotools/commit/4f70fa3234391dd0cda883a20ab0ec75688cba49X Refsource MISCPatchThird Party Advisory