{"id":"GHSA-3xgr-h5hq-7299","aliases":["GHSA-3xgr-h5hq-7299"],"related":[],"kind":"vulnerability","state":"published","title":"GeoIP processor disables SSL certificate validation when downloading databases","summary":"### 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","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2025-10-15T20:40:10.000Z","modified":"2025-10-16T08:10:43.220Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"2.7.0","status":"affected","fixed":"2.12.2"}],"ecosystem":"Maven","package":"org.opensearch.dataprepper.plugins:geoip-processor","purl":"pkg:maven/org.opensearch.dataprepper.plugins/geoip-processor","source":"ghsa"}],"references":[{"url":"https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-3xgr-h5hq-7299","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/opensearch-project/data-prepper/commit/b82ea0640d98d9f4c742622325faeeb6248ee135","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/opensearch-project/data-prepper","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3xgr-h5hq-7299","url":"https://github.com/advisories/GHSA-3xgr-h5hq-7299","licence":"CC-BY-4.0","modified":"2025-10-16T08:10:43.220Z"}],"updatedAt":"2026-11-25T22:56:26.622Z"}