Vulnerabilities in pkg:maven/org.opensearch.dataprepper.plugins/geoip-processor

PACKAGE
Advisory Summary

GHSA-3xgr-h5hq-7299 is a MODERATE (CVSS 5.9) geoip processor disables ssl certificate vulnerability (CWE-295: Improper Certificate Validation) affecting Geoip processor libraries in the Maven ecosystem. The issue involves geoip processor disables ssl certificate validation when downloading databases. Remediation is available by upgrading affected packages to version 2.12.2.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.opensearch.dataprepper.plugins/geoip-processor

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.opensearch.dataprepper.plugins/geoip-processor. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3xgr-h5hq-7299 - MODERATE GeoIP processor disables SSL certificate validation when downloading databases
GHSA-28gg-8qqj-fhh5 - MODERATE OpenSearch Data Prepper uses deprecated SSL protocol identifier

GHSA-3xgr-h5hq-7299 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3xgr-h5hq-7299
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Geoip processor
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix GHSA-3xgr-h5hq-7299

To remediate this vulnerability, upgrade all affected Geoip processor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.opensearch.dataprepper.plugins:geoip-processor fixed: 2.12.2
<dependency>
    <groupId>org.opensearch.dataprepper.plugins</groupId>
    <artifactId>geoip-processor</artifactId>
    <version>2.12.2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.opensearch.dataprepper.plugins

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-3xgr-h5hq-7299, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.opensearch.dataprepper.plugins

Analyze the terminal output to locate any version of Geoip processor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.12.2), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.opensearch.dataprepper.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Geoip processor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The GeoIP processor in Data Prepper was configured to trust all SSL certificates and disable hostname verification when downloading GeoIP databases from HTTP URLs, making downloads vulnerable to man-in-the-middle attacks. The GeoIP processor included a custom SSL implementation that completely bypassed certificate validation when downloading GeoIP databases from external sources. The `initiateSSL()` method incorrectly implemented an approach for trusting all certificates. Specifically it: * Accepted all SSL certificates without validation * Disabled server certificate verification * Disabled client certificate verification * Disabled hostname verification This configuration made database downloads vulnerable to man-in-the-middle attacks, potentially allowing attackers to serve malicious GeoIP databases that could compromise the integrity of geolocation data processing. ### Patches Data Prepper 2.12.2 contains a fix for this issue. ### Workarounds If upgrading is not immediately possible: * Use local GeoIP database files instead of downloading from HTTP URLs * Ensure database downloads occur only over trusted networks

GHSA-3xgr-h5hq-7299 Affected Geoip processor Versions

1 component(s)
Fixed Versions:
2.12.2
Product / Package Ecosystem Affected Versions Fixed Version
org.opensearch.dataprepper.plugins:geoip-processor
Maven
≥ 2.7.0
< 2.12.2
2.12.2

References

Frequently Asked Questions

What is GHSA-3xgr-h5hq-7299?
GHSA-3xgr-h5hq-7299 is a security vulnerability in Geoip processor involving GeoIP processor disables SSL certificate validation when downloading databases under CWE-295: Improper Certificate Validation.
Which Geoip processor versions are affected?
Affected versions include releases prior to 2.12.2 across affected packages: org.opensearch.dataprepper.plugins:geoip-processor.
What version fixes GHSA-3xgr-h5hq-7299?
Upgrading to 2.12.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is geoip-processor affected?
Yes, org.opensearch.dataprepper.plugins:geoip-processor is affected in releases prior to 2.12.2. Upgrade your dependency to 2.12.2 or later.
What is the CVSS score of GHSA-3xgr-h5hq-7299?
GHSA-3xgr-h5hq-7299 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with GHSA-3xgr-h5hq-7299?
GHSA-3xgr-h5hq-7299 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check Maven dependencies for GHSA-3xgr-h5hq-7299?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opensearch.dataprepper.plugins'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3xgr-h5hq-7299",
  "modified" : "2025-10-15T20:40:10Z",
  "published" : "2025-10-15T20:40:10Z",
  "aliases" : [ ],
  "summary" : "GeoIP processor disables SSL certificate validation when downloading databases",
  "details" : "### Impact\n\nThe GeoIP processor in Data Prepper was configured to trust all SSL certificates and disable hostname verification when downloading GeoIP databases from HTTP URLs, making downloads vulnerable to man-in-the-middle attacks.\n\nThe GeoIP processor included a custom SSL implementation that completely bypassed certificate validation when downloading GeoIP databases from external sources. The `initiateSSL()` method incorrectly implemented an approach for trusting all certificates. Specifically it:\n\n* Accepted all SSL certificates without validation\n* Disabled server certificate verification\n* Disabled client certificate verification\n* Disabled hostname verification\n\nThis configuration made database downloads vulnerable to man-in-the-middle attacks, potentially allowing attackers to serve malicious GeoIP databases that could compromise the integrity of geolocation data processing.\n\n### Patches\n\nData Prepper 2.12.2 contains a fix for this issue.\n\n### Workarounds\n\nIf upgrading is not immediately possible:\n\n* Use local GeoIP database files instead of downloading from HTTP URLs\n* Ensure database downloads occur only over trusted networks",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch.dataprepper.plugins:geoip-processor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.12.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-3xgr-h5hq-7299"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/data-prepper/commit/b82ea0640d98d9f4c742622325faeeb6248ee135"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opensearch-project/data-prepper"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-15T20:40:10Z",
    "nvd_published_at" : null
  }
}