{"id":"CVE-2021-22147","aliases":["CVE-2021-22147","GHSA-45h5-r968-5xr7","BIT-ELASTICSEARCH-2021-22147"],"related":[],"kind":"vulnerability","state":"published","title":"Exposure of sensitive information in Elasticsearch","summary":"Elasticsearch before 7.14.0 did not apply document and field level security to searchable snapshots. This could lead to an authenticated user gaining access to information that they are unauthorized to view.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Elasticsearch before 7.14.0 did not apply document and field level security to searchable snapshots. This could lead to an authenticated user gaining access to information that they are unauthorized to view.","source":"cvelist"},{"lang":"en","text":"A flaw was discovered in Elasticsearch where document and field level security was not applied to searchable snapshots. This could lead to an authenticated user gaining access to information that they are unauthorized to view.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Elasticsearch versiones anteriores a 7.14.0, no aplicaba la seguridad a nivel de documento y de campo a las instantáneas con capacidad de búsqueda. Esto podía conllevar a que un usuario autenticado consiguiera acceso a información que no estaba autorizado a visualizar","source":"nvd"}],"published":"2021-09-15T11:36:19.000Z","modified":"2026-09-08T08:46:15.739Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-732","CWE-862"],"affected":[{"ranges":[{"version":"versions 7.11.0 to 7.13.4","status":"affected"}],"vendor":"Elastic","product":"Elasticsearch","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.11.0","status":"affected","fixed":"7.14.0"}],"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.11.0","fixed":"7.14.0"}],"vendor":"elastic","product":"elasticsearch","cpe":"cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.11.0","status":"affected","fixed":"7.14.0"}],"ecosystem":"Bitnami","package":"elasticsearch","purl":"pkg:bitnami/elasticsearch","source":"bitnami"}],"references":[{"url":"https://www.elastic.co/community/security/","tags":["advisory","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://discuss.elastic.co/t/elastic-stack-7-14-0-security-update/280344","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20211008-0002/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22147","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20211008-0002","tags":["web"],"sources":["ghsa"]},{"url":"https://www.elastic.co/community/security","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"elastic","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22147","url":"https://www.cve.org/CVERecord?id=CVE-2021-22147","licence":"CVE Terms of Use","modified":"2024-08-03T18:37:17.551Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-45h5-r968-5xr7","url":"https://github.com/advisories/GHSA-45h5-r968-5xr7","licence":"CC-BY-4.0","modified":"2024-02-17T05:20:17.044Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22147","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22147","licence":"Public domain","modified":"2026-06-17T03:36:41.983Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ELASTICSEARCH-2021-22147","url":"https://osv.dev/vulnerability/BIT-ELASTICSEARCH-2021-22147","licence":"Apache-2.0","modified":"2026-09-08T08:46:15.739Z"}],"updatedAt":"2026-11-25T22:58:03.956Z","epss":{"score":0.01037,"percentile":0.649,"date":"2026-12-02T12:00:21.000Z"}}