Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22147
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-22147
Complete source record
{
"id": "e6a14416101e6eac366a574d638ef9fc3b721ab6fb27218613c319be7a1c0fbc",
"url": "https://osv.dev/vulnerability/CVE-2021-22147",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22147",
"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.",
"evidence": "osv:CVE-2021-22147",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-22147",
"aliases": [
"BIT-elasticsearch-2021-22147",
"CVE-2021-22147",
"GHSA-45h5-r968-5xr7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/elastic/elasticsearch",
"type": "GIT",
"events": [
{
"introduced": "8ced7813d6f16d2ef30792e2fcde3e755795ee04"
},
{
"fixed": "dd5a0a2acaa2045ff9624f3729fc8a6f40835aa1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.11.0"
},
{
"fixed": "7.14.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22147.json",
"vanir_signatures": [
{
"id": "CVE-2021-22147-83e15f25",
"digest": {
"threshold": 0.9,
"line_hashes": [
"225934378297096443205996319287508664581",
"305324889570165299639096032500322130374",
"170310029445315469861065754189361442532",
"107750926380225791637906031407774933414"
]
},
"source": "https://github.com/elastic/elasticsearch/commit/dd5a0a2acaa2045ff9624f3729fc8a6f40835aa1",
"target": {
"file": "server/src/main/java/org/elasticsearch/snapshots/RestoreService.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-22147-938f76b3",
"digest": {
"length": 580,
"function_hash": "291430067966160489700298674970247889651"
},
"source": "https://github.com/elastic/elasticsearch/commit/dd5a0a2acaa2045ff9624f3729fc8a6f40835aa1",
"target": {
"file": "server/src/main/java/org/elasticsearch/snapshots/RestoreService.java",
"function": "updateDataStream"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-25T01:16:49Z"
}
}
],
"modified": "2026-10-25T01:16:49.600660181Z",
"provider": "osv",
"references": [
"https://discuss.elastic.co/t/elastic-stack-7-14-0-security-update/280344",
"https://security.netapp.com/advisory/ntap-20211008-0002/",
"https://www.elastic.co/community/security/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-22147",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 444449,
"published_at": "2021-09-15T12:15:08.917+00:00"
}