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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7009.json"
[
{
"id": "CVE-2020-7009-ce6852db",
"target": {
"file": "buildSrc/src/main/java/org/elasticsearch/gradle/test/DistroTestPlugin.java"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/elastic/elasticsearch/commit/ef48eb35cf30adf4db14086e8aabd07ef6fb113f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"141220707678054705745522305309040454462",
"158424970524078855021575664188388536274",
"168165956481179781256416093989954890155",
"229144230071102220520223938177773900760",
"215768383982142562647290196310337018600",
"190980073495807060676851547796513033226",
"333735107382115999112409131379637046661",
"87411123562615438936629259441859462907",
"27044359176411794464378468348369271497",
"137538088923642007219958797903970617488",
"139230527099308005861097624179593880154",
"110417774001167584680810970205720355574",
"330881739204447203942678233789401326607",
"174898642828437128754699546969061413902",
"117686705537864882919318867788300419527",
"91246983906720789385337868592268029711"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2020-7009-f78b34cc",
"target": {
"function": "apply",
"file": "buildSrc/src/main/java/org/elasticsearch/gradle/test/DistroTestPlugin.java"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/elastic/elasticsearch/commit/ef48eb35cf30adf4db14086e8aabd07ef6fb113f",
"digest": {
"function_hash": "67819099224607828614636832684374336454",
"length": 2541.0
},
"signature_type": "Function"
}
]