# GHSA-3xgr-h5hq-7299: GeoIP processor disables SSL certificate validation when downloading databases

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-15T20:40:10.000Z
- Modified: 2025-10-16T08:10:43.220Z
- Weaknesses: CWE-295

## Description

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

(As written by GitHub Advisory Database.)

## Affected

- org.opensearch.dataprepper.plugins:geoip-processor (Maven): from 2.7.0 before 2.12.2

## References

- <https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-3xgr-h5hq-7299> (web)
- <https://github.com/opensearch-project/data-prepper/commit/b82ea0640d98d9f4c742622325faeeb6248ee135> (web)
- <https://github.com/opensearch-project/data-prepper> (package)

## Sources

- GitHub Advisory Database: [GHSA-3xgr-h5hq-7299](https://github.com/advisories/GHSA-3xgr-h5hq-7299), CC-BY-4.0, modified 2025-10-16

---

Page: https://cve.day/GHSA-3xgr-h5hq-7299 · Whole record: https://cve.day/GHSA-3xgr-h5hq-7299.json · Rebuilt by cve.day 2026-11-25T22:56:26.622Z
