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.
Remediation
References
https://github.com/geotools/geotools/security/advisories/GHSA-jvh2-668r-g75x
https://github.com/geotools/geotools/commit/4f70fa3234391dd0cda883a20ab0ec75688cba49
Related Vulnerabilities
CVE-2021-27738 Vulnerability in maven package org.apache.kylin:kylin-stream-coordinator
CVE-2020-4045 Vulnerability in npm package ssb-db
CVE-2022-4742 Vulnerability in npm package json-pointer
CVE-2022-25893 Vulnerability in npm package vm2
CVE-2020-7780 Vulnerability in maven package com.softwaremill.akka-http-session:core_2.13