{"id":"CVE-2020-7021","aliases":["BIT-elasticsearch-2020-7021","EUVD-2022-3611","GHSA-cqgv-256r-m9r8","UBUNTU-CVE-2020-7021"],"status":"published","title":"Insertion of Sensitive Information into Log File in Elasticsearch","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","severity":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.0149,"percentile":0.74434,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-532"],"published":"2021-02-10T18:55:15Z","modified":"2026-10-24T14:12:06Z","fixes":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","fixed_in":["6.8.14","7.10.0"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"elasticsearch","fixed_in":["6.8.14","7.10.0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.8.13"},{"fixed":"6.8.14"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"last_affected":"7.0.9"},{"fixed":"7.10.0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"elasticsearch","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.8.14"},{"introduced":"7.0.0"},{"fixed":"7.10.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.14"}]}],"versions":["0.10.0","0.11.0","0.12.0","0.12.1","0.13.0","0.13.1","0.14.0","0.14.1","0.14.2","0.14.3","0.14.4","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.16.5","0.17.0","0.17.1","0.17.10","0.17.2","0.17.3","0.17.4","0.17.5","0.17.6","0.17.7","0.17.8","0.17.9","0.18.0","0.18.1","0.18.2","0.18.3","0.18.4","0.18.5","0.18.6","0.18.7","0.19.0","0.19.0.RC1","0.19.0.RC2","0.19.0.RC3","0.19.1","0.19.10","0.19.11","0.19.12","0.19.2","0.19.3","0.19.4","0.19.5","0.19.6","0.19.7","0.19.8","0.19.9","0.20.0","0.20.0.RC1","0.20.1","0.20.2","0.20.3","0.20.4","0.20.5","0.20.6","0.6.0","0.7.0","0.7.1","0.8.0","0.9.0","0.90.0","0.90.0.Beta1","0.90.0.RC1","0.90.0.RC2","0.90.1","0.90.10","0.90.11","0.90.12","0.90.13","0.90.2","0.90.3","0.90.4","0.90.5","0.90.6","0.90.7","0.90.8","0.90.9","1.0.0","1.0.0.Beta1","1.0.0.Beta2","1.0.0.RC1","1.0.0.RC2","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.4.0","1.4.0.Beta1","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","2.0.0","2.0.0-beta1","2.0.0-beta2","2.0.0-rc1","2.0.1","2.0.2","2.1.0","2.1.1","2.1.2","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","5.0.0","5.0.0-alpha1","5.0.0-alpha2","5.0.0-alpha3","5.0.0-alpha4","5.0.0-alpha5","5.0.0-beta1","5.0.0-rc1","5.0.1","5.0.2","5.1.1","5.1.2","5.2.0","5.2.1","5.2.2","5.3.0","5.3.1","5.3.2","5.3.3","5.4.0","5.4.1","5.4.2","5.4.3","5.5.0","5.5.1","5.5.2","5.5.3","5.6.0","5.6.1","5.6.10","5.6.11","5.6.12","5.6.13","5.6.14","5.6.15","5.6.16","5.6.2","5.6.3","5.6.4","5.6.5","5.6.6","5.6.7","5.6.8","5.6.9","6.0.0","6.0.0-alpha1","6.0.0-alpha2","6.0.0-beta1","6.0.0-beta2","6.0.0-rc1","6.0.0-rc2","6.0.1","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.2.0","6.2.1","6.2.2","6.2.3","6.2.4","6.3.0","6.3.1","6.3.2","6.4.0","6.4.1","6.4.2","6.4.3","6.5.0","6.5.1","6.5.2","6.5.3","6.5.4","6.6.0","6.6.1","6.6.2","6.7.0","6.7.1","6.7.2","6.8.0","6.8.1","6.8.10","6.8.11","6.8.12","6.8.13","6.8.2","6.8.3","6.8.4","6.8.5","6.8.6","6.8.7","6.8.8","6.8.9"]},{"source":"osv","ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.10.0"}]}],"versions":["7.0.0","7.0.1","7.1.0","7.1.1","7.2.0","7.2.1","7.3.0","7.3.1","7.3.2","7.4.0","7.4.1","7.4.2","7.5.0","7.5.1","7.5.2","7.6.0","7.6.1","7.6.2","7.7.0","7.7.1","7.8.0","7.8.1","7.9.0","7.9.1","7.9.2","7.9.3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.2+dfsg-1","1.7.3+dfsg-1","1.7.3+dfsg-2","1.7.3+dfsg-3"]}],"products":[{"vendor":"elastic","product":"elasticsearch"}],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-11-0-and-6-8-14-security-update/263915","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://security.netapp.com/advisory/ntap-20210319-0003/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7021","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-cqgv-256r-m9r8"},{"url":"https://github.com/elastic/elasticsearch","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20210319-0003","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-7021","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7021","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-7021","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2021-02-10T18:55:15Z","modified":"2024-08-04T09:18:02.537Z","cwes":["CWE-532"],"updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2022-3611","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2021-02-10T18:55:15Z","modified":"2024-08-04T09:18:02Z","updated_at":"2026-11-03T03:08:01.029528Z"}],"ghsa":[{"id":"GHSA-cqgv-256r-m9r8","title":"Insertion of Sensitive Information into Log File in Elasticsearch","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2022-05-24T17:41:42Z","modified":"2023-01-27T05:02:44Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T14:36:19.144959Z"}],"nvd":[{"id":"CVE-2020-7021","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2021-02-10T19:15:11.87Z","modified":"2026-06-17T03:24:08.2Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T14:06:34.188486Z"}],"osv":[{"id":"CVE-2020-7021","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2021-02-10T19:15:11.87Z","modified":"2026-10-24T14:12:06.889822655Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"GHSA-cqgv-256r-m9r8","title":"Insertion of Sensitive Information into Log File in Elasticsearch","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2022-05-24T17:41:42Z","modified":"2024-02-21T05:32:33.759535Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T15:46:45.28161Z"},{"id":"UBUNTU-CVE-2020-7021","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2021-02-10T19:15:00Z","modified":"2025-10-24T04:48:18Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"BIT-elasticsearch-2020-7021","description":"Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.","status":"published","published":"2024-03-06T10:54:14.978Z","modified":"2026-09-08T08:47:13.35413776Z","updated_at":"2026-11-02T15:28:29.563843Z"}]}}
