8.2high
Unchecked JNDI lookups in GeoTools
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.41% (higher than 84% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| geotools geotools | >= 26.0, < 26.4, >= 25.0, < 25.6, < 24.6 | CVE List |
| osgeo geotools | before 24.6, from 25.0 before 25.6, from 26.0 before 26.4 | NVD |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
GeoTools es una biblioteca Java de código abierto que proporciona herramientas para datos geoespaciales. La biblioteca GeoTools presenta una serie de fuentes de datos que pueden llevar a cabo búsquedas JNDI no verificadas, que a su vez pueden ser usadas para llevar a cabo una deserialización de clases y resultar en una ejecución de código arbitrario. Al igual que en el caso de Log4J, la vulnerabilidad puede desencadenarse si los nombres JNDI son proporcionados por el usuario, pero requiere un inicio de sesión a nivel de administrador para activarse. Las búsquedas están ahora restringidas en GeoTools versión 26.4, GeoTools versión 25.6 y GeoTools versión 24.6. Los usuarios que no puedan actualizar deben asegurarse de que cualquier aplicación posterior no permita el uso de cadenas JNDI proporcionadas de forma remota
References
| https://github.com/geotools/geotools/security/advisories/GHSA-jvh2-668r-g75x | third-party-advisory | |
| https://github.com/geotools/geotools/commit/4f70fa3234391dd0cda883a20ab0ec75688cba49 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24818 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-24818 changed 2026-11-30 | Public domain |