CVE-2022-24818: geotools Improper Input Validation
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 83.8% of scored vulnerabilities.
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
84%
Versus all other CVEs
30-day change
0.00 pp
From 2.41% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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 Statement ('Expression Language Injection')The 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
Geotools1 product
- geotools< 24.6 | ≥ 25.0, < 25.6 | ≥ 26.0, < 26.4
1 vendor · 1 product
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