Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-rfee-2pn5-nyan
Summary
Improper Certificate Validation via Global SSL Context Downgrade in Apache Storm Prometheus Reporter


Versions Affected: from 2.6.3 to 2.8.6


Description: 

In production deployments where an administrator enables storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation (by default it is disabled) intending to affect only the Prometheus reporter, the undocumented global side effect creates an attack surface across every TLS-protected communication channel in the Storm daemon.


The PrometheusPreparableReporter class implements an INSECURE_TRUST_MANAGER that accepts all SSL certificates without validation, with empty checkClientTrusted and checkServerTrusted methods. Most critically, when the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation configuration option is enabled (default = disabled) for HTTPS Prometheus PushGateway connections, the INSECURE_CONNECTION_FACTORY calls SSLContext.setDefault(sslContext), which globally replaces the JVM's default SSL context rather than applying the insecure context only to the Prometheus connection. This payload flows through storm.yaml configuration → PrometheusPreparableReporter.prepare() → INSECURE_CONNECTION_FACTORY → SSLContext.setDefault(), resulting in a JVM-wide TLS security downgrade. All subsequent HTTPS connections in the process - including ZooKeeper, Thrift, Netty, and UI connections - silently trust all certificates, including self-signed, expired, and attacker-generated ones, enabling man-in-the-middle interception of cluster state, topology submissions, tuple data, and administrative credentials.




Mitigation: 2.x users should upgrade to 2.8.7 if the Prometheus Metrics Reporter is used. Prometheus Metrics Reporter Users who cannot upgrade immediately should remove the storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: true setting from their storm.yaml configuration and instead configure a proper truststore containing the PushGateway's certificate.
Aliases
0
alias CVE-2026-40557
1
alias GHSA-82fm-wpc2-5pmp
Fixed_packages
0
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.7
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.7
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.7
Affected_packages
0
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.6.3
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.6.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.6.3
1
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.6.4
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.6.4
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.6.4
2
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.7.0
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.7.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.7.0
3
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.7.1
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.7.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.7.1
4
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.0
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.0
5
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.1
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.1
6
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.2
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.2
7
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.3
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.3
8
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.4
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.4
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.4
9
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.5
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.5
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.5
10
url pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.6
purl pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.6
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rfee-2pn5-nyan
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.storm/storm-metrics-prometheus@2.8.6
References
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-40557
reference_id
reference_type
scores
0
value 0.0013
scoring_system epss
scoring_elements 0.32191
published_at 2026-06-13T12:55:00Z
1
value 0.0013
scoring_system epss
scoring_elements 0.3199
published_at 2026-06-11T12:55:00Z
2
value 0.0013
scoring_system epss
scoring_elements 0.32175
published_at 2026-06-12T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-40557
1
reference_url https://github.com/apache/storm
reference_id
reference_type
scores
0
value 4.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/apache/storm
2
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-40557
reference_id
reference_type
scores
0
value 4.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-40557
3
reference_url http://www.openwall.com/lists/oss-security/2026/04/25/2
reference_id
reference_type
scores
0
value 4.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url http://www.openwall.com/lists/oss-security/2026/04/25/2
4
reference_url https://lists.apache.org/thread/f5bv68z1y5xstz22psjk05p3wn86knjq
reference_id f5bv68z1y5xstz22psjk05p3wn86knjq
reference_type
scores
0
value 4.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-27T13:58:23Z/
url https://lists.apache.org/thread/f5bv68z1y5xstz22psjk05p3wn86knjq
5
reference_url https://github.com/advisories/GHSA-82fm-wpc2-5pmp
reference_id GHSA-82fm-wpc2-5pmp
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-82fm-wpc2-5pmp
Weaknesses
0
cwe_id 295
name Improper Certificate Validation
description The product does not validate, or incorrectly validates, a certificate.
1
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
2
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
Exploits
Severity_range_score4.0 - 6.9
Exploitability0.5
Weighted_severity6.2
Risk_score3.1
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-rfee-2pn5-nyan