{"id":"CVE-2020-8904","state":"PUBLISHED","title":"Arbitrary trusted memory overwrite vulnerability in Asylo","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.","publishedAt":"2020-08-12T18:20:13.047Z","updatedAt":"2024-09-16T23:21:07.649Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:H","source":"Google"},"assigner":"Google","products":["Google LLC Asylo"],"affected":[{"vendor":"Google LLC","product":"Asylo","versions":[{"version":"stable","status":"affected","lessThan":"0.6.0","versionType":"custom"}]}],"references":["https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e"],"weaknesses":["CWE-823"],"ingestedAt":"2026-10-29T19:47:44.297Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/8xxx/CVE-2020-8904.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-8904","state":"PUBLISHED","datePublished":"2020-08-12T18:20:13.047Z","dateUpdated":"2024-09-16T23:21:07.649Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2020-02-12T00:00:00.000Z"},"containers":{"cna":{"title":"Arbitrary trusted memory overwrite vulnerability in Asylo","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Google LLC","product":"Asylo","versions":[{"version":"stable","status":"affected","lessThan":"0.6.0","versionType":"custom"}]}],"references":[{"url":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-823","description":"CWE-823 Use of Out-of-range Pointer Offset","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","dateUpdated":"2020-08-12T18:20:12.000Z","orgId":"14ed7db2-1595-443d-9d34-6215bf890778"},"credits":[{"lang":"en","value":"Qinkun Bao, Zhaofeng Chen, Mingshen Sun, and Kang Li from Baidu Security"}],"datePublic":"2020-07-22T00:00:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@google.com","DATE_PUBLIC":"2020-07-22T00:22:00.000Z","ID":"CVE-2020-8904","STATE":"PUBLIC","TITLE":"Arbitrary trusted memory overwrite vulnerability in Asylo"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Asylo","version":{"version_data":[{"version_affected":"<","version_name":"stable","version_value":"0.6.0"}]}}]},"vendor_name":"Google LLC"}]}},"credit":[{"lang":"eng","value":"Qinkun Bao, Zhaofeng Chen, Mingshen Sun, and Kang Li from Baidu Security"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-823 Use of Out-of-range Pointer Offset"}]}]},"references":{"reference_data":[{"name":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","refsource":"CONFIRM","url":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T10:12:11.014Z"}}]}}}