Vulnerabilities in pkg:maven/org.opensearch.dataprepper.plugins/geoip-processor
PACKAGEGHSA-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.
pkg:maven/org.opensearch.dataprepper.plugins/geoip-processor
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
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).
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.
<dependency>
<groupId>org.opensearch.dataprepper.plugins</groupId>
<artifactId>geoip-processor</artifactId>
<version>2.12.2</version>
</dependency>
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
GHSA-3xgr-h5hq-7299 Affected Geoip processor Versions
1 component(s)| 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?
Which Geoip processor versions are affected?
What version fixes GHSA-3xgr-h5hq-7299?
Is geoip-processor affected?
What is the CVSS score of GHSA-3xgr-h5hq-7299?
What CWE is associated with GHSA-3xgr-h5hq-7299?
How can I check Maven dependencies for GHSA-3xgr-h5hq-7299?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}