Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22138

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22138
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:39 UTC · Revision 1

Source evidence

CVE-2021-22138

core-osv · Original source

Published 13 May 2021, 18:15 UTC

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.

osv:CVE-2021-22138
Complete source record
{
  "id": "56116d87efe19b7c552adfc7e957e1280b7edd8bcc9b7b09d43aed858969d922",
  "url": "https://osv.dev/vulnerability/CVE-2021-22138",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22138",
    "summary": "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.",
    "evidence": "osv:CVE-2021-22138",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2021-22138",
      "aliases": [
        "BIT-logstash-2021-22138",
        "CVE-2021-22138"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elastic/logstash",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f8014ac54e6c8ff6c071c0960ca1b00e9735f43a"
                },
                {
                  "fixed": "3c0cd07dcd6979538e2b92b9997f2535aa13798e"
                },
                {
                  "introduced": "26101649981400490f8bab334c61a90a1d6325d2"
                },
                {
                  "fixed": "4399d72a9afe6f06db8adbaad8030e5b111e86b6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:elastic:logstash:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.4.0"
                      },
                      {
                        "fixed": "6.8.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:elastic:logstash:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.12.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22138.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:21.544005870Z",
      "provider": "osv",
      "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/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22138",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430500,
  "published_at": "2021-05-13T18:15:09.077+00:00"
}