Live threats

All CVEs / Elastic

CVE-2021-22138Elastic Logstash

Low 3.7 No auth needed

Priority
37
CVSS 3.1
3.7
EPSS
0.5%
probability of exploitation in 30 days · percentile 42
Auth required
No
Published
May 13, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

In Logstash versions after 6.4.0 and before 6.8.15 and 7.12.0 a TLS certificate validation flaw was found in the monitoring feature. When specifying a trusted server CA certificate Logstash would not properly verify the certificate returned by the monitoring server. This could result in a man in the middle style attack against the Logstash monitoring data.

Original NVD text.

What to do

  1. Apply the vendor's security update for Logstash.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
elasticlogstash≥ 6.4.0 < 6.8.15
elasticlogstash≥ 7.0.0 < 7.12.0

Official sources

References

Links published by the sources. Open them with care.