{"id":"CVE-2020-8904","published":"2020-08-12T18:20:13Z","modified":"2024-09-16T23:21:07Z","title":"Arbitrary trusted memory overwrite vulnerability in Asylo","vendor":"Google","product":"Asylo","tier":"tail","description":{"text":"An arbitrary memory overwrite vulnerability in the trusted memory of Asylo exists in versions prior to 0.6.0. As the ecall_restore function fails to validate the range of the output_len pointer, an attacker can manipulate the tmp_output_len value and write to an arbitrary location in the trusted (enclave) memory. We recommend updating Asylo to version 0.6.0 or later.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00232,"percentile":0.08494,"provenance":"source"},"cwes":[{"id":"CWE-823","name":"Use of Out-of-range Pointer Offset"}],"references":[{"url":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":1.7},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Asylo","versions":[">= stable, < 0.6.0"]}],"euvd":{"id":"EUVD-2020-29743","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-google-asylo-cve-2020-8904","children":[{"from":"CVE-2020-8904","to":"CVE-2020-8944","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["asylo/platform/primitives/sgx/ecalls.cc"],"commits":["https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","https://github.com/google/asylo/commit/382da2b8b09cbf928668a2445efb778f76bd9c8a"],"basis":"rarely changed file"}]}]}}