{"id":"CVE-2025-62371","aliases":["CVE-2025-62371","GHSA-43ff-rr26-8hx4"],"related":[],"kind":"vulnerability","state":"published","title":"OpenSearch Data Prepper plugins trusts all SSL certificates by default","summary":"OpenSearch Data Prepper as an open source data collector for observability data. In versions prior to 2.12.2, the OpenSearch sink and source plugins in Data Prepper trust all SSL certificates by default when no certificate path is provided. Prior to this fix, the OpenSearch sink and source plugins would automatically use a trust all SSL strategy when connecting to OpenSearch clusters if no certificate path was explicitly configured. This behavior bypasses SSL certificate validation, potentially allowing attackers to intercept and modify data in transit through man-in-the-middle attacks. The vulnerability affects connections to OpenSearch when the cert parameter is not explicitly provided. This issue has been patched in version 2.12.2. As a workaround, users can add the cert parameter to their OpenSearch sink or source configuration with the path to the cluster's CA certificate.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenSearch Data Prepper as an open source data collector for observability data. In versions prior to 2.12.2, the OpenSearch sink and source plugins in Data Prepper trust all SSL certificates by default when no certificate path is provided. Prior to this fix, the OpenSearch sink and source plugins would automatically use a trust all SSL strategy when connecting to OpenSearch clusters if no certificate path was explicitly configured. This behavior bypasses SSL certificate validation, potentially allowing attackers to intercept and modify data in transit through man-in-the-middle attacks. The vulnerability affects connections to OpenSearch when the cert parameter is not explicitly provided. This issue has been patched in version 2.12.2. As a workaround, users can add the cert parameter to their OpenSearch sink or source configuration with the path to the cluster's CA certificate.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe OpenSearch sink and source plugins in Data Prepper are configured to trust all SSL certificates by default when no certificate path was provided, making connections vulnerable to man-in-the-middle attacks.\n\nPrior to this fix, the OpenSearch sink and source plugins would automatically use a trust all SSL strategy when connecting to OpenSearch clusters if no certificate path was explicitly configured. This behavior bypassed SSL certificate validation, potentially allowing attackers to intercept and modify data in transit through man-in-the-middle attacks.\n\nThe vulnerability affects connections to OpenSearch when the `cert` parameter is not explicitly provided.\n\n### Patches\n\nData Prepper 2.12.2\n\n### Workarounds\n\nIf you cannot immediately upgrade to the fixed version, you can implement the following workaround.\n\n#### OpenSearch sink\n\nAdd the `cert` parameter to your OpenSearch sink configuration with the path to your cluster's CA certificate. The following example shows how to accomplish this.\n\n```\nsink:\n  - opensearch:\n      hosts: [\"https://your-opensearch-cluster:9200\"]\n      cert: /path/to/your/ca-certificate.pem\n```\n\n#### OpenSearch source\n\nAdd the `cert` parameter to your OpenSearch sink configuration with the path to your cluster's CA certificate. The following example shows how to accomplish this.\n\n```\nsink:\n  - opensearch:\n      hosts: [\"https://your-opensearch-cluster:9200\"]\n      connection:\n        cert: /path/to/your/ca-certificate.pem\n```\n\n\n### References\n\nN/A","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenSearch Data Prepper como un recolector de datos de código abierto para datos de observabilidad. En versiones anteriores a la 2.12.2, los plugins de sink y source de OpenSearch en Data Prepper confían en todos los certificados SSL por defecto cuando no se proporciona una ruta de certificado. Antes de esta corrección, los plugins de sink y source de OpenSearch usarían automáticamente una estrategia de confianza en todos los SSL al conectarse a clusters de OpenSearch si no se configuraba explícitamente ninguna ruta de certificado. Este comportamiento omite la validación de certificados SSL, permitiendo potencialmente a los atacantes interceptar y modificar datos en tránsito a través de ataques de man-in-the-middle. La vulnerabilidad afecta las conexiones a OpenSearch cuando el parámetro cert no se proporciona explícitamente. Este problema ha sido parcheado en la versión 2.12.2. Como solución alternativa, los usuarios pueden añadir el parámetro cert a su configuración de sink o source de OpenSearch con la ruta al certificado CA del cluster.","source":"nvd"}],"published":"2025-10-15T17:25:43.428Z","modified":"2026-10-08T11:10:00.250Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"< 2.12.2","status":"affected"}],"vendor":"opensearch-project","product":"data-prepper","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.12.2"}],"ecosystem":"Maven","package":"org.opensearch.dataprepper.plugins:opensearch","purl":"pkg:maven/org.opensearch.dataprepper.plugins/opensearch","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.12.2"}],"vendor":"amazon","product":"opensearch_data_prepper","cpe":"cpe:2.3:a:amazon:opensearch_data_prepper:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-43ff-rr26-8hx4","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/opensearch-project/data-prepper/commit/98fcf0d0ff9c18f1f7501e11dbed918814724b99","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/opensearch-project/data-prepper/commit/b0386a5af3fb71094ba6c86cd8b2afc783246599","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/opensearch-project/data-prepper/commit/db11ce8f27ebca018980b2bca863f7173de9ce56","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62371","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/opensearch-project/data-prepper","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-15T18:13:30.517Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62371","url":"https://www.cve.org/CVERecord?id=CVE-2025-62371","licence":"CVE Terms of Use","modified":"2025-10-15T18:13:42.168Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-43ff-rr26-8hx4","url":"https://github.com/advisories/GHSA-43ff-rr26-8hx4","licence":"CC-BY-4.0","modified":"2025-10-16T08:12:47.192Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62371","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62371","licence":"Public domain","modified":"2026-10-08T11:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:06.466Z","epss":{"score":0.00195,"percentile":0.09706,"date":"2026-12-01T12:00:22.000Z"}}