OpenSearch Data Prepper plugins trust all SSL certificates by default
Impact
The 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.
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 bypassed 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.
Patches
Data Prepper 2.12.2
Workarounds
If you cannot immediately upgrade to the fixed version, you can implement the following workaround.
OpenSearch sink
Add 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.
sink:
- opensearch:
hosts: ["https://your-opensearch-cluster:9200"]
cert: /path/to/your/ca-certificate.pem
OpenSearch source
Add 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.
sink:
- opensearch:
hosts: ["https://your-opensearch-cluster:9200"]
connection:
cert: /path/to/your/ca-certificate.pem
References
N/A
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.opensearch.dataprepper.plugins:opensearch | < 2.12.2 | 2.12.2 |
Verweise
- https://github.com/opensearch-project/data-prepper/security/advisories/GHSA-43ff-rr26-8hx4
- https://nvd.nist.gov/vuln/detail/CVE-2025-62371
- https://github.com/opensearch-project/data-prepper/commit/98fcf0d0ff9c18f1f7501e11dbed918814724b99
- https://github.com/opensearch-project/data-prepper/commit/b0386a5af3fb71094ba6c86cd8b2afc783246599
- https://github.com/opensearch-project/data-prepper/commit/db11ce8f27ebca018980b2bca863f7173de9ce56
- https://github.com/opensearch-project/data-prepper
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-295- Plattform
- Java / Kotlin (Maven)
- Paket
org.opensearch.dataprepper.plugins:opensearch- Veröffentlicht
- 15.10.2025
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-43ff-rr26-8hx4 - CC BY 4.0
Schwachstellenhistorie: org.opensearch.dataprepper.plugins:opensearch
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.