Improper Certificate Validation Affecting org.apache.storm:storm-metrics-prometheus package, versions [2.6.3, 2.8.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHESTORM-16322971
  • published30 Apr 2026
  • disclosed27 Apr 2026
  • creditK

Introduced: 27 Apr 2026

NewCVE-2026-40557  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade org.apache.storm:storm-metrics-prometheus to version 2.8.7 or higher.

Overview

org.apache.storm:storm-metrics-prometheus is a Distributed and fault-tolerant realtime computation

Affected versions of this package are vulnerable to Improper Certificate Validation in the INSECURE_CONNECTION_FACTORY calls. An attacker can intercept sensitive data and credentials by performing man-in-the-middle attacks on any TLS-protected connection within the affected process.

Note: This is only exploitable if the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation setting is enabled in the configuration.

Workaround

This vulnerability can be mitigated by removing the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true setting from the configuration and configuring a proper truststore containing the PushGateway's certificate.

CVSS Base Scores

version 4.0
version 3.1