# CVE-2022-24818: Unchecked JNDI lookups in GeoTools

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.41%, higher than 84% of CVEs (2026-12-01)
- Published: 2022-04-13T20:55:12.000Z
- Modified: 2026-11-30T19:11:06.747Z
- Weaknesses: CWE-20, CWE-917
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- geotools geotools: >= 26.0, < 26.4; >= 25.0, < 25.6; < 24.6
- osgeo geotools: before 24.6; from 25.0 before 25.6; from 26.0 before 26.4

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## 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

- CVE List: [CVE-2022-24818](https://www.cve.org/CVERecord?id=CVE-2022-24818), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-24818](https://nvd.nist.gov/vuln/detail/CVE-2022-24818), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2022-24818 · Whole record: https://cve.day/CVE-2022-24818.json · Rebuilt by cve.day 2026-11-30T19:17:33.952Z
