{"id":"UBUNTU-CVE-2020-7009","details":"Elasticsearch versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2 contain a privilege escalation flaw if an attacker is able to create API keys. An attacker who is able to generate an API key can perform a series of steps that result in an API key being generated with elevated privileges.","modified":"2025-10-24T04:48:18Z","published":"2020-03-31T19:15:00Z","upstream":["CVE-2020-7009"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-7009"},{"type":"REPORT","url":"https://discuss.elastic.co/t/elastic-stack-6-8-8-and-7-6-2-security-update/225920"},{"type":"REPORT","url":"https://security.netapp.com/advisory/ntap-20200403-0004/"},{"type":"REPORT","url":"https://www.elastic.co/community/security/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-7009"}],"affected":[{"package":{"name":"elasticsearch","ecosystem":"Ubuntu:16.04:LTS","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"],"ecosystem_specific":{"binaries":[{"binary_name":"elasticsearch","binary_version":"1.7.3+dfsg-3"},{"binary_name":"libelasticsearch1.7-java","binary_version":"1.7.3+dfsg-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7009.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}