{"id":"CVE-2020-8936","published":"2020-12-15T14:55:33Z","modified":"2024-08-04T10:12:11Z","title":"Arbitrary enclave memory overwrite vulnerability in ECall ecall_restore","vendor":"Google","product":"Asylo","tier":"tail","description":{"text":"An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to UntrustedCall. UntrustedCall failed to validate the buffer range within sgx_params and allowed the host to return a pointer that was an address within the enclave memory. This allowed an attacker to read memory values from within the enclave.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00135,"percentile":0.03025,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.6},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Asylo","versions":[">= 0.6.0, <= 0.6.0"]}],"solutions":{"items":["Upgrade past commit 83036fd841d33baa7e039f842d131aa7881fdcc2"],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2020-29767","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-google-asylo-cve-2020-8936","children":[{"from":"CVE-2020-8936","to":"CVE-2021-22548","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["asylo/platform/primitives/sgx/trusted_sgx.cc"],"commits":["https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2","https://github.com/google/asylo/commit/53ed5d8fd8118ced1466e509606dd2f473707a5c"],"basis":"shared function","functions":["UntrustedCall"]}]},{"from":"CVE-2020-8936","to":"CVE-2021-22549","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["asylo/platform/primitives/sgx/trusted_sgx.cc"],"commits":["https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2","https://github.com/google/asylo/commit/ecfcd0008b6f8f63c6fa3cc1b62fcd4a52f2c0ad"],"basis":"shared function","functions":["UntrustedCall"]}]}]}}