CVE-2022-24818 Unchecked JNDI lookups in GeoTools

High 8.2 Published Updated

An attacker with admin access can trigger unchecked JNDI lookups in GeoTools to achieve arbitrary code execution via deserialization.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-24818?

CVE-2022-24818 is a high-severity unsafe deserialization vulnerability in geotools, published on 13 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-917, CWE-20

Which versions are affected by CVE-2022-24818?

It affects 1 product.

Products include Geotools Geotools.

How do I fix CVE-2022-24818?

No fix has been published for CVE-2022-24818 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2022-24818 being exploited?

There is no known exploitation of CVE-2022-24818 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-jvh2-668r-g75x.

Is CVE-2022-24818 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free