{"api_version":"1","generated_at":"2026-07-24T00:32:26+00:00","cve":"CVE-2020-7020","urls":{"html":"https://cve.report/CVE-2020-7020","api":"https://cve.report/api/cve/CVE-2020-7020.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-7020","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7020"},"summary":{"title":"CVE-2020-7020","description":"Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.","state":"PUBLIC","assigner":"security@elastic.co","published_at":"2020-10-22 17:15:00","updated_at":"2022-06-03 18:56:00"},"problem_types":["CWE-269"],"metrics":[],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033","name":"https://discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"Elastic Stack 7.9.3 and 6.8.13 Security Update - Security Announcements - Discuss the Elastic Stack","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://staging-website.elastic.co/community/security/","name":"https://staging-website.elastic.co/community/security/","refsource":"MISC","tags":["Permissions Required","Vendor Advisory"],"title":"Sign in - Google Accounts","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20201123-0001/","name":"https://security.netapp.com/advisory/ntap-20201123-0001/","refsource":"CONFIRM","tags":[],"title":"CVE-2020-7020 Elasticsearch Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7020","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7020","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"7020","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"elastic","cpe5":"elasticsearch","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"7020","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"elastic","cpe5":"elasticsearch","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-7020","qid":"900492","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rubygem-elasticsearch (6274)"},{"cve":"CVE-2020-7020","qid":"902026","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rubygem-elasticsearch (6274-1)"},{"cve":"CVE-2020-7020","qid":"982916","title":"Java (maven) Security Update for org.elasticsearch:elasticsearch (GHSA-g9fw-9x87-rmrj)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"security@elastic.co","ID":"CVE-2020-7020","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Elastic","product":{"product_data":[{"product_name":"Elasticsearch","version":{"version_data":[{"version_value":"before 6.8.13 and 7.9.2"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-270: Privilege Context Switching Error"}]}]},"references":{"reference_data":[{"url":"https://staging-website.elastic.co/community/security/","refsource":"MISC","name":"https://staging-website.elastic.co/community/security/"},{"url":"https://discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033","refsource":"MISC","name":"https://discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20201123-0001/","url":"https://security.netapp.com/advisory/ntap-20201123-0001/"}]},"description":{"description_data":[{"lang":"eng","value":"Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices."}]}},"nvd":{"publishedDate":"2020-10-22 17:15:00","lastModifiedDate":"2022-06-03 18:56:00","problem_types":["CWE-269"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW"},"exploitabilityScore":1.6,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.9.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*","versionEndExcluding":"6.8.13","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"7020","Ordinal":"167291","Title":"CVE-2020-7020","CVE":"CVE-2020-7020","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"7020","Ordinal":"1","NoteData":"Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"7020","Ordinal":"2","NoteData":"2020-10-22","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"7020","Ordinal":"3","NoteData":"2020-11-23","Type":"Other","Title":"Modified"}]}}}