CVE-2021-22138Elastic Logstash
Low 3.7 No auth needed
Follow: this CVE · Elastic · Elastic Logstash We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Logstash.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | logstash | ≥ 6.4.0 < 6.8.15 |
| elastic | logstash | ≥ 7.0.0 < 7.12.0 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.elastic.co Vendor Advisory
- security.netapp.com Third Party Advisory