Arbitrary Code Execution Affecting org.geotools:gt-metadata package, versions [,24.6)[25.0, 25.6)[26.0, 26.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.41% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGGEOTOOLS-2701673
  • published14 Apr 2022
  • disclosed14 Apr 2022
  • creditAndrea Aime, Jody Garnett, mbadanoiu

Introduced: 14 Apr 2022

CVE-2022-24818  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.geotools:gt-metadata is a contains implementations of metadata and some core utilities classes.

Affected versions of this package are vulnerable to Arbitrary Code Execution via class deserialization by letting a number of data sources to perform unchecked JNDI lookups. This is triggered if the JNDI names are user-provided, but it requires admin-level login to be triggered.

Workaround

Ensure that any downstream application does not allow usage of remotely provided JNDI strings.

CVSS Base Scores

version 3.1