CVE-2022-24818
JSON

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 packageVersionsReported by
geotools geotools>= 26.0, < 26.4, >= 25.0, < 25.6, < 24.6CVE List
osgeo geotoolsbefore 24.6, from 25.0 before 25.6, from 26.0 before 26.4NVD

All scores

GitHub_M8.2high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

CWE-20CWE-917

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2022-24818 changed 2025-04-23CVE Terms of Use
NVDCVE-2022-24818 changed 2026-11-30Public domain