{"id":"CVE-2021-37937","aliases":["BIT-elasticsearch-2021-37937","UBUNTU-CVE-2021-37937"],"summary":"Elasticsearch privilege escalation","published_at":"2023-11-22T01:45:21.008Z","modified_at":"2026-09-08T08:47:12.183961Z","products":[{"slug":"elasticsearch","name":"Elasticsearch / Kibana","category":"monitoring"}],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.007139999885112047,"percentile":0.5459399819374084,"date":"2026-11-21T00:00:00Z"},"priority":9.8,"record_count":5,"vendors":["Ubuntu","BSI","Bitnami"],"details":"An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.","affected_stack":[{"ecosystem":"Bitnami","package":"elasticsearch","purl":"pkg:bitnami/elasticsearch","ranges":[{"type":"SEMVER","events":[{"introduced":"7.13.0"},{"fixed":"7.14.1"}]}],"fixed":["7.14.1"],"provider":"osv","source":"BIT-elasticsearch-2021-37937","relation":"self"},{"ecosystem":"CVE","package":"Elastic/Elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.13.0"},{"fixed":"7.14.0"}]}],"fixed":["7.14.0"],"provider":"cvelistv5","source":"CVE-2021-37937","relation":"self"},{"ecosystem":"NVD","package":"elastic:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.13.0"},{"last_affected":"7.14.0"}]}],"provider":"nvd","source":"CVE-2021-37937","relation":"self"}],"affected_other":[{"ecosystem":"Ubuntu:16.04:LTS","package":"elasticsearch","purl":"pkg:deb/ubuntu/elasticsearch@1.7.3+dfsg-3?arch=source&distro=xenial","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"],"provider":"osv","source":"UBUNTU-CVE-2021-37937","relation":"self"}],"product_status":[],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0029","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0029","license":"TLP:CLEAR, mirroring permitted","published_at":"2021-09-01T22:00:00Z","modified_at":"2026-08-31T22:00:00Z","summary":"Elasticsearch und Kibana: Mehrere Schwachstellen","details":"Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Elasticsearch und Kibana ausnutzen, um beliebigen Programmcode auszuführen, um Informationen offenzulegen, um einen Cross-Site Scripting Angriff durchzuführen und um Administratorrechte zu erlangen.\n\nElasticsearch ist eine Open Source, verteilte Echtzeit-Suche und Analyse-Engine.\r\nKibana ist ein Open Source Datenvisualisierungs-Plugin für Elasticsearch.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2022-0029"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-0029.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0029"},{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3639"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3638"},{"type":"WEB","url":"http://linux.oracle.com/errata/ELSA-2021-3623.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2021-September/009484.html"},{"type":"WEB","url":"https://support.f5.com/csp/article/K53225395"},{"type":"WEB","url":"https://alas.aws.amazon.com/ALAS-2021-1545.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:2043"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:4880"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:5188"},{"type":"WEB","url":"https://www.dell.com/support/kbdoc/000503504/dsa-2026-386-security-update-f"}]},{"provider":"cvelistv5","source_id":"CVE-2021-37937","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-37937","license":"CC-BY-4.0","published_at":"2023-11-22T01:45:21.008Z","modified_at":"2024-08-04T01:30:08.934Z","summary":"Elasticsearch privilege escalation","details":"An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2021-37937"}],"affected":[{"ecosystem":"CVE","package":"Elastic/Elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.13.0"},{"fixed":"7.14.0"}]}],"fixed":["7.14.0"],"provider":"cvelistv5","source":"CVE-2021-37937","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"WEB","url":"https://www.elastic.co/community/security"}]},{"provider":"nvd","source_id":"CVE-2021-37937","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37937","severity":[],"affected":[{"ecosystem":"NVD","package":"elastic:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.13.0"},{"last_affected":"7.14.0"}]}],"provider":"nvd","source":"CVE-2021-37937","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-elasticsearch-2021-37937","relation":"self","url":"https://osv.dev/vulnerability/BIT-elasticsearch-2021-37937","license":"Apache-2.0","published_at":"2024-03-06T10:52:41.376Z","modified_at":"2026-09-08T08:47:12.183961Z","summary":"Elasticsearch privilege escalation","details":"An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"BIT-elasticsearch-2021-37937"}],"affected":[{"ecosystem":"Bitnami","package":"elasticsearch","purl":"pkg:bitnami/elasticsearch","ranges":[{"type":"SEMVER","events":[{"introduced":"7.13.0"},{"fixed":"7.14.1"}]}],"fixed":["7.14.1"],"provider":"osv","source":"BIT-elasticsearch-2021-37937","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"ADVISORY","url":"https://www.elastic.co/community/security"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37937"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-37937","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-37937","license":"CC-BY-SA-4.0","published_at":"2023-11-22T02:15:00Z","modified_at":"2025-10-24T04:50:27Z","details":"An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"UBUNTU-CVE-2021-37937"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2021-37937"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-37937"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"elasticsearch","purl":"pkg:deb/ubuntu/elasticsearch@1.7.3+dfsg-3?arch=source&distro=xenial","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"],"provider":"osv","source":"UBUNTU-CVE-2021-37937","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-37937"},{"type":"REPORT","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"REPORT","url":"https://www.elastic.co/community/security"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-37937"}]}],"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"WEB","url":"https://www.elastic.co/community/security"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37937"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-37937"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-37937"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0029","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0029","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-31T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-37937","url":"https://www.cve.org/CVERecord?id=CVE-2021-37937","license":"CC-BY-4.0","modified_at":"2024-08-04T01:30:08.934Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-37937","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37937","relation":"self"},{"provider":"osv","source_id":"BIT-elasticsearch-2021-37937","url":"https://osv.dev/vulnerability/BIT-elasticsearch-2021-37937","license":"Apache-2.0","modified_at":"2026-09-08T08:47:12.183961Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-37937","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-37937","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:50:27Z","relation":"self"}]}
