# GHSA-28gg-8qqj-fhh5: OpenSearch Data Prepper uses deprecated SSL protocol identifier


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 15 Oct 2025

## What is GHSA-28gg-8qqj-fhh5?

GHSA-28gg-8qqj-fhh5 is a vulnerability in org.opensearch.dataprepper.plugins:geoip-processor, published on 15 Oct 2025. 

### Official description

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

## Which versions are affected by GHSA-28gg-8qqj-fhh5?

2 open source packages ship an affected version, including org.opensearch.dataprepper.plugins:geoip-processor.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.opensearch.dataprepper.plugins:geoip-processor` | Maven | From 2.4.0 | 2.12.2 |
| `org.opensearch.dataprepper.plugins:geoip-processor` | Maven | From 2.4.0 | 2.12.2 |

## How do I fix GHSA-28gg-8qqj-fhh5?

Upgrade org.opensearch.dataprepper.plugins:geoip-processor to 2.12.2 or later.

## Is GHSA-28gg-8qqj-fhh5 being exploited?

There is no known exploitation of GHSA-28gg-8qqj-fhh5 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-28gg-8qqj-fhh5 and fix it if it is affected.

What it is: GHSA-28gg-8qqj-fhh5 is a vulnerability in org.opensearch.dataprepper.plugins:geoip-processor, published on 15 Oct 2025. 
Exploitation: There is no known exploitation of GHSA-28gg-8qqj-fhh5 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.opensearch.dataprepper.plugins:geoip-processor (Maven): affected from 2.4.0; fixed in 2.12.2
- org.opensearch.dataprepper.plugins:geoip-processor (Maven): affected from 2.4.0; fixed in 2.12.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-28gg-8qqj-fhh5/ (Markdown: https://insights.sbomify.com/GHSA-28gg-8qqj-fhh5/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-28gg-8qqj-fhh5

---
From sbomify Insights: https://insights.sbomify.com/GHSA-28gg-8qqj-fhh5/
Summaries are generated and may contain mistakes; the official description above is the record.
