{"id":"CVE-2021-37937","state":"PUBLISHED","title":"Elasticsearch privilege escalation","description":"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.","publishedAt":"2023-11-22T01:45:21.008Z","updatedAt":"2024-08-04T01:30:08.934Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"elastic"},"assigner":"elastic","products":["Elastic Elasticsearch"],"affected":[{"vendor":"Elastic","product":"Elasticsearch","defaultStatus":"unaffected","versions":[{"version":"7.13.0","status":"affected","lessThan":"7.14.0","versionType":"semver"}]}],"references":["https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077","https://www.elastic.co/community/security"],"weaknesses":["CWE-269"],"ingestedAt":"2026-10-29T19:48:47.122Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/37xxx/CVE-2021-37937.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-37937","state":"PUBLISHED","datePublished":"2023-11-22T01:45:21.008Z","dateUpdated":"2024-08-04T01:30:08.934Z","assignerShortName":"elastic","assignerOrgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateReserved":"2021-08-03T20:49:52.461Z"},"containers":{"cna":{"title":"Elasticsearch privilege escalation","descriptions":[{"lang":"en","value":"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":[{"vendor":"Elastic","product":"Elasticsearch","defaultStatus":"unaffected","versions":[{"version":"7.13.0","status":"affected","lessThan":"7.14.0","versionType":"semver"}]}],"references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"url":"https://www.elastic.co/community/security"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","description":"CWE-269: Improper Privilege Management","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"elastic","orgId":"271b6943-45a9-4f3a-ab4e-976f3fa05b5a","dateUpdated":"2023-11-22T01:45:21.008Z"},"datePublic":"2021-09-01T16:10:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077","tags":["x_transferred"]},{"url":"https://www.elastic.co/community/security","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T01:30:08.934Z"}}]}}}