# CVE-2021-22138

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-05-13 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-22138 · JSON: https://cvemate.com/vulnerability/CVE-2021-22138/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:P/I:N/A:N
- EPSS: 0.459%, percentile 41.528%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- elastic elasticsearch: after 6.4.0 and before 6.8.15 and 7.12.0
- elastic logstash: ≥ 6.4.0, \< 6.8.15 \| ≥ 7.0.0, \< 7.12.0

## References

- <https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125>
- <https://security.netapp.com/advisory/ntap-20210629-0001/>

---

Data as of 2026-12-05T09:21:50.684Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
