{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "5.6.0"
              },
              {
                "fixed": "5.6.12"
              },
              {
                "introduced": "6.0.0"
              },
              {
                "fixed": "6.4.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "781a83507f0598b36512cba088ffeefa73b4bbe6"
            },
            {
              "fixed": "cfe3d9f611a328cfffc18b445b3aecb016349514"
            },
            {
              "introduced": "8f0685b924b9159807704ec2593b26e28105da44"
            },
            {
              "fixed": "e36acdb78ec6499be861ae1b2dac264cce2f8b10"
            }
          ],
          "repo": "https://github.com/elastic/elasticsearch",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue when secrets are configured via the API. The Elasticsearch _cluster/settings API, when queried, could leak sensitive configuration information such as passwords, tokens, or usernames. This could allow an authenticated Elasticsearch user to improperly view these details.",
  "id": "CVE-2018-3831",
  "modified": "2026-07-08T05:38:05.958335004Z",
  "published": "2018-09-19T19:29:01.343Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://discuss.elastic.co/t/elastic-stack-6-4-1-and-5-6-12-security-update/149035"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.elastic.co/community/security"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}