{"schemaVersion":3,"id":"CVE-2020-8904","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2020-08-12T18:20:13.047Z","modified":"2024-09-16T23:21:07.649Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00232,"percentile":0.13216,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00232},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00232,"percentile":0.13216}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00232,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00232,"percentile":0.13216}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-823","name":"Use of Out-of-range Pointer Offset","description":"The product performs pointer arithmetic on a valid pointer, but it uses an offset that can point outside of the intended range of valid memory locations for the resulting pointer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/823.html"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"google llc","product":"asylo","name":"Asylo","label":"asylo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ stable, < 0.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ stable, < 0.6.0","eol":null,"hubHref":"/vendor/google_llc/asylo"},{"vendor":"google","product":"asylo","name":"asylo","label":"asylo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.0","eol":null,"hubHref":"/vendor/google/asylo"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","label":"github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-08-12T18:20:13.047Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T23:21:07.649Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:48:35.031Z","stale":false,"partial":false}}