{"id":"CVE-2020-8944","published":"2020-12-15T14:55:39Z","modified":"2024-08-04T10:12:10Z","title":"Unchecked buffer overrun in ecall_restore","vendor":"Google","product":"Asylo","tier":"tail","description":{"text":"An arbitrary memory write vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to ecall_restore using the attribute output which fails to check the range of a pointer. An attacker can use this pointer to write to arbitrary memory addresses including those within the secure enclave We recommend upgrading past commit 382da2b8b09cbf928668a2445efb778f76bd9c8a","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.00158,"percentile":0.05061,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/google/asylo/commit/382da2b8b09cbf928668a2445efb778f76bd9c8a","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":1.01},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Asylo","versions":[">= unspecified, <= 0.6.0"]}],"solutions":{"items":["We recommend upgrading past commit 382da2b8b09cbf928668a2445efb778f76bd9c8a"],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2020-29775","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-google-asylo-cve-2020-8904","parents":[{"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"}]}]}}