CVE-2025-62371: OpenSearch Data Prepper plugins trusts all SSL certificates by default

Published Oct 15, 2025
·
Updated

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

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
OpenSearch Data Prepper<2.12.2
maven/org.opensearch.dataprepper.plugins:opensearch<2.12.2
2.12.2
Amazon Opensearch Data Prepper<2.12.2

Event History

Oct 15, 2025
CVE Published
via MITRE·05:25 PM
Data Sourced
via MITRE·05:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:09 PM
Data Sourced
via GitHub·08:09 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-62371?

CVE-2025-62371 is classified as a medium severity vulnerability due to its potential to allow untrusted SSL certificates.

2

How do I fix CVE-2025-62371?

To fix CVE-2025-62371, upgrade OpenSearch Data Prepper to version 2.12.2 or later.

3

What is the impact of CVE-2025-62371?

The impact of CVE-2025-62371 is that it allows attackers to exploit the trusting of all SSL certificates, which may lead to man-in-the-middle attacks.

4

Which versions of OpenSearch Data Prepper are affected by CVE-2025-62371?

CVE-2025-62371 affects all versions of OpenSearch Data Prepper prior to 2.12.2.

5

Are any plugins affected by CVE-2025-62371?

Yes, the OpenSearch sink and source plugins in Data Prepper are affected by CVE-2025-62371.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203