CVE-2021-22138: Elastic Logstash

Low severity, CVSS 3.7. EPSS: 0.5% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Elastic Logstash, from 6.4.0, before 6.8.15: fixed in 6.8.15
  • Elastic Logstash, from 7.0.0, before 7.12.0: fixed in 7.12.0

Affected products

  • Elastic Logstash: from 6.4.0, before 6.8.15 (fixed in 6.8.15); from 7.0.0, before 7.12.0 (fixed in 7.12.0)

Published 2021-05-13. Last modified 2026-06-17.