The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-24818

CVE-2022-24818: GeoTools JNDI RCE Vulnerability

CVE-2022-24818 is a remote code execution vulnerability in GeoTools Java library caused by unchecked JNDI lookups. Attackers with admin access can exploit this to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 11, 2026

CVE-2022-24818 Overview

CVE-2022-24818 is an Insecure Deserialization and Code Injection vulnerability affecting GeoTools, an open source Java library that provides tools for geospatial data. The GeoTools library contains multiple data sources that perform unchecked JNDI (Java Naming and Directory Interface) lookups. When exploited, these unchecked lookups can be leveraged to trigger class deserialization, ultimately resulting in arbitrary code execution on vulnerable systems.

Similar to the well-known Log4Shell (Log4J) vulnerability, this flaw can be triggered when JNDI names are user-provided. However, exploitation requires admin-level authentication, which reduces the immediate attack surface. The vulnerability has been addressed in GeoTools versions 26.4, 25.6, and 24.6 through the implementation of restricted JNDI lookups.

Critical Impact

Successful exploitation allows authenticated administrators to execute arbitrary code through malicious JNDI lookup strings, potentially leading to complete system compromise.

Affected Products

  • GeoTools versions prior to 26.4
  • GeoTools versions prior to 25.6
  • GeoTools versions prior to 24.6

Discovery Timeline

  • 2022-04-13 - CVE-2022-24818 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-24818

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) and expression language injection (CWE-917) in GeoTools' JNDI lookup functionality. The library's data sources perform JNDI lookups without adequate validation of the lookup names, creating an injection point for malicious payloads.

When an attacker with administrative access provides a crafted JNDI lookup string, the vulnerable code path executes the lookup without proper sanitization. This allows the attacker to direct the lookup to an attacker-controlled server, which can then return a malicious serialized object. Upon deserialization, this object can execute arbitrary code within the context of the GeoTools application.

The attack requires network access and administrative privileges, making it a post-authentication vulnerability. However, the potential for complete system compromise through arbitrary code execution makes this a significant security concern for organizations using affected GeoTools versions.

Root Cause

The root cause lies in the unsafe handling of JNDI lookup operations within GeoTools. The library's original implementation allowed direct JNDI lookups with user-supplied names through methods like GeoTools.getInitialContext().lookup(name). Without validation, these lookup names could include malicious schemas (such as ldap://, rmi://, or dns://) pointing to attacker-controlled infrastructure. The absence of a name validation mechanism permitted attackers to bypass intended security boundaries and inject arbitrary JNDI references that trigger remote class loading and deserialization.

Attack Vector

The attack exploits the network-accessible JNDI lookup functionality. An authenticated administrator can supply a malicious JNDI name containing a reference to an external server. The vulnerable code performs the lookup, connecting to the attacker's server, which responds with a malicious serialized Java object. When GeoTools deserializes this object, the attacker's payload executes with the privileges of the Java application.

The attack flow involves:

  1. Attacker obtains administrative access to the GeoTools application
  2. Attacker crafts a malicious JNDI name pointing to their controlled LDAP/RMI server
  3. The application performs an unchecked JNDI lookup
  4. The attacker's server returns a malicious serialized object
  5. Deserialization triggers arbitrary code execution

The security patch introduces a validation mechanism through GeoTools.jndiLookup(name) with DEFAULT_JNDI_VALIDATOR that restricts lookups to safe schemas:

text
GeoTools
^^^^^^^^

In GeoTools 25.7 ``GeoTools.getInitialContext().look(name)`` and related methods have been deprecated, with ``GeoTools.jndiLookup(name)``. We have also taken an opportunity to remove ``GeoTools.fixName( context, name )`` 

The use of ``GeoTools.jndiLookup(name)`` is subject to validation with the default ``GeoTools.DEFAULT_JNDI_VALIDATOR`` validator used limit name lookup.

BEFORE

.. code-block:: java

   context = GeoTools.getInitialContext();
   String fixedName = GeoTools.fixName( context, name );
   return (DataSource) context.lookup(fixedName);

AFTER

.. code-block:: java

   return (DataSource) GeoTools.jndiLookup(name);

Source: GitHub Commit

Detection Methods for CVE-2022-24818

Indicators of Compromise

  • Unusual outbound connections from GeoTools applications to external LDAP, RMI, or DNS servers
  • JNDI lookup strings containing suspicious schemas such as ldap://, rmi://, or dns:// in application logs
  • Unexpected Java class loading or deserialization activity in application runtime
  • Administrative access logs showing unusual JNDI configuration changes

Detection Strategies

  • Monitor application logs for JNDI lookup patterns containing external URLs or IP addresses
  • Implement network-level detection for outbound connections to non-standard LDAP/RMI ports
  • Deploy runtime application security monitoring to detect suspicious deserialization behavior
  • Review administrative action audit logs for unauthorized JNDI configuration modifications

Monitoring Recommendations

  • Enable verbose logging for GeoTools JNDI operations to capture all lookup attempts
  • Configure network intrusion detection systems (IDS) to alert on JNDI-related traffic patterns
  • Implement security information and event management (SIEM) rules correlating admin logins with JNDI activity
  • Establish baseline behavior for legitimate JNDI lookups to identify anomalous patterns

How to Mitigate CVE-2022-24818

Immediate Actions Required

  • Upgrade GeoTools to version 26.4, 25.6, or 24.6 or later immediately
  • Audit administrative access and ensure only trusted personnel have admin-level privileges
  • Review application configurations for any remotely provided JNDI strings
  • Implement network segmentation to restrict outbound connections from GeoTools applications

Patch Information

The vulnerability has been addressed in GeoTools versions 26.4, 25.6, and 24.6. The fix introduces the GeoTools.jndiLookup(name) method with built-in validation through DEFAULT_JNDI_VALIDATOR, which ensures only no-schema and java schema lookups are permitted by default. Organizations should upgrade to the patched versions as the primary remediation strategy. The security fix is detailed in the GitHub Security Advisory and the commit changes.

Workarounds

  • If upgrading is not immediately possible, ensure downstream applications do not allow usage of remotely provided JNDI strings
  • Implement strict input validation for any JNDI name parameters at the application level
  • Restrict network egress to prevent connections to external LDAP/RMI servers
  • Consider implementing a custom JNDI name validator using GeoTools.setJNDINameValidator(Predicate<String>) to limit allowed lookups
bash
# Network-level mitigation: Block outbound LDAP/RMI connections
# Example iptables rules to restrict outbound JNDI-related traffic
iptables -A OUTPUT -p tcp --dport 389 -j DROP   # LDAP
iptables -A OUTPUT -p tcp --dport 636 -j DROP   # LDAPS
iptables -A OUTPUT -p tcp --dport 1099 -j DROP  # RMI

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGeotools

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability8.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • CWE-917
  • Technical References
  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Change
  • Related CVEs
  • CVE-2024-36404: GeoTools XPath Expression RCE Vulnerability

  • CVE-2025-30220: GeoTools XXE Vulnerability

  • CVE-2023-25158: GeoTools JDBC SQL Injection Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English