{"answers":{"affected":"4 open source packages ship an affected version, including org.elasticsearch:elasticsearch. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-3337 exists.","fix":"Upgrade org.elasticsearch:elasticsearch to a fixed version for your release line: 1.4.5 or 1.5.2.","what":"CVE-2015-3337 is a medium-severity path traversal vulnerability in n/a, published on 1 May 2015. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-3337 and fix it if it is affected.\n\nWhat it is: CVE-2015-3337 is a medium-severity path traversal vulnerability in n/a, published on 1 May 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-3337 exists.\n\nAffected packages and fixed versions:\n- org.elasticsearch:elasticsearch (Maven): affected all versions; fixed in 1.4.5\n- org.elasticsearch:elasticsearch (Maven): affected all versions; fixed in 1.4.5\n- org.elasticsearch:elasticsearch (Maven): affected from 1.5.0; fixed in 1.5.2\n- org.elasticsearch:elasticsearch (Maven): affected from 1.5.0; fixed in 1.5.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2015-3337/ (Markdown: https://insights.sbomify.com/CVE-2015-3337/index.md)","id":"CVE-2015-3337","markdown":"https://insights.sbomify.com/CVE-2015-3337/index.md","name":"CVE-2015-3337","record":{"aliases":["DSA-3241-1","GHSA-x8q8-4hp5-463w"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Elasticsearch search engine","requires_auth":"none","summary":"Remote attackers can read arbitrary files from Elasticsearch servers if a site plugin is enabled, requiring an upgrade to secure the system.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"elasticsearch","vendor":"elasticsearch"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, allows remote attackers to read arbitrary files via unspecified vectors.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2015-05-18","github_poc":1,"max_poc_stars":9,"metasploit":0,"nuclei":1,"refs":[{"date":"2019-06-21T09:06:49Z","kind":"github_poc","ref":"https://github.com/jas502n/CVE-2015-3337","stars":9,"title":"CVE-2015-3337 ElasticSearch 任意文件读取"},{"date":"2015-05-18","kind":"exploitdb","ref":"37054","stars":null,"title":"ElasticSearch \u003c 1.4.5 / \u003c 1.5.2 - Directory Traversal"},{"date":null,"kind":"nuclei","ref":"http/cves/2015/CVE-2015-3337.yaml","stars":null,"title":"Elasticsearch - Local File Inclusion"}],"tier":"weaponised"},"has_fix":true,"headline":"Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch","id":"CVE-2015-3337","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2015"},"n_packages":4,"n_references":6,"next":{"headline":"Race condition in n/a","id":"CVE-2015-3339"},"packages":[{"ecosystem":"Maven","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"org.elasticsearch:elasticsearch","purl":null,"source":"GHSA-x8q8-4hp5-463w"},{"ecosystem":"Maven","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","source":"GHSA-x8q8-4hp5-463w"},{"ecosystem":"Maven","fixed":["1.5.2"],"introduced":["1.5.0"],"last_affected":[],"package":"org.elasticsearch:elasticsearch","purl":null,"source":"GHSA-x8q8-4hp5-463w"},{"ecosystem":"Maven","fixed":["1.5.2"],"introduced":["1.5.0"],"last_affected":[],"package":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","source":"GHSA-x8q8-4hp5-463w"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2015-3336"},"products":["n/a"],"published":"2015-05-01","related":[{"cvss_score":7.5,"headline":"Improper Access Control in Elasticsearch","id":"CVE-2015-4165","kev_date_added":null,"published":"2017-08-09"},{"cvss_score":5,"headline":"Improper Limitation of a Pathname to a Restricted Directory in Elasticsearch","id":"CVE-2015-5531","kev_date_added":null,"published":"2015-08-17"},{"cvss_score":4.3,"headline":"Cross-site scripting in Elasticsearch","id":"CVE-2014-6439","kev_date_added":null,"published":"2014-10-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files from Elasticsearch servers if a site plugin is enabled, requiring an upgrade to secure the system.","url":"https://insights.sbomify.com/CVE-2015-3337/"}