GHSA-28gg-8qqj-fhh5: Geoip processor OpenSearch Data Prepper Uses Deprecated Vulnerability

MODERATE
CVSS 4.8
CWE-295
Published
Advisory Summary

GHSA-28gg-8qqj-fhh5 is a MODERATE (CVSS 4.8) opensearch data prepper uses deprecated vulnerability (CWE-295: Improper Certificate Validation) affecting Geoip processor libraries in the Maven ecosystem. The issue involves opensearch data prepper uses deprecated ssl protocol identifier. Remediation is available by upgrading affected packages to version 2.12.2.

GHSA-28gg-8qqj-fhh5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-28gg-8qqj-fhh5
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Geoip processor
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.8

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:L/I:L/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 Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-28gg-8qqj-fhh5

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-28gg-8qqj-fhh5, 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 and Kafka source and buffer were using the deprecated "SSL" protocol identifier when creating SSL contexts, potentially allowing the use of insecure SSL protocols instead of modern TLS versions. Multiple Data Prepper plugins used `SSLContext.getInstance("SSL")` which could potentially allow the use of deprecated SSL protocols (SSLv2, SSLv3) that have known security vulnerabilities. While modern Java implementations typically default to secure TLS versions even with the "SSL" identifier, explicitly using "TLS" ensures that only secure TLS protocols are negotiated. The affected components were: * GeoIP Processor: The `DBSource.initiateSSL()` method used for downloading GeoIP databases from external sources * Kafka Plugin: Both `CustomClientSslEngineFactory` and `InsecureSslEngineFactory` classes used for Kafka client connections This could potentially allow connections to negotiate weaker SSL protocols instead of enforcing modern TLS versions, reducing the security of data transmission. ### Patches Data Prepper 2.12.2 contains a fix for this issue. ### Workarounds If upgrading is not immediately possible: 1. Ensure your Java runtime is configured to disable deprecated SSL protocols 2. Use network-level controls to enforce TLS-only connections 3. Use external tools to verify that deprecated SSL protocols are not allowed.

GHSA-28gg-8qqj-fhh5 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.4.0
< 2.12.2
2.12.2

References

Frequently Asked Questions

What is GHSA-28gg-8qqj-fhh5?
GHSA-28gg-8qqj-fhh5 is a security vulnerability in Geoip processor involving OpenSearch Data Prepper uses deprecated SSL protocol identifier 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-28gg-8qqj-fhh5?
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-28gg-8qqj-fhh5?
GHSA-28gg-8qqj-fhh5 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with GHSA-28gg-8qqj-fhh5?
GHSA-28gg-8qqj-fhh5 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-28gg-8qqj-fhh5?
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-28gg-8qqj-fhh5",
  "modified" : "2025-10-15T20:37:29Z",
  "published" : "2025-10-15T20:37:29Z",
  "aliases" : [ ],
  "summary" : "OpenSearch Data Prepper uses deprecated SSL protocol identifier",
  "details" : "### Impact\n\nThe GeoIP processor and Kafka source and buffer were using the deprecated \"SSL\" protocol identifier when creating SSL contexts, potentially allowing the use of insecure SSL protocols instead of modern TLS versions.\n\nMultiple Data Prepper plugins used `SSLContext.getInstance(\"SSL\")` which could potentially allow the use of deprecated SSL protocols (SSLv2, SSLv3) that have known security vulnerabilities. While modern Java implementations typically default to secure TLS versions even with the \"SSL\" identifier, explicitly using \"TLS\" ensures that only secure TLS protocols are negotiated.\n\nThe affected components were:\n\n* GeoIP Processor: The `DBSource.initiateSSL()` method used for downloading GeoIP databases from external sources\n\n* Kafka Plugin: Both `CustomClientSslEngineFactory` and `InsecureSslEngineFactory` classes used for Kafka client connections\n\nThis could potentially allow connections to negotiate weaker SSL protocols instead of enforcing modern TLS versions, reducing the security of data transmission.\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\n1. Ensure your Java runtime is configured to disable deprecated SSL protocols\n2. Use network-level controls to enforce TLS-only connections\n3. Use external tools to verify that deprecated SSL protocols are not allowed.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch.dataprepper.plugins:geoip-processor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.12.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-28gg-8qqj-fhh5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/data-prepper/commit/fa21a601512b5193c4b5c84a5b30c6301dab0475"
  }, {
    "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:37:29Z",
    "nvd_published_at" : null
  }
}