{"api_version":"1","generated_at":"2026-07-23T18:58:22+00:00","cve":"CVE-2020-8904","urls":{"html":"https://cve.report/CVE-2020-8904","api":"https://cve.report/api/cve/CVE-2020-8904.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-8904","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-8904"},"summary":{"title":"CVE-2020-8904","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.","state":"PUBLIC","assigner":"security@google.com","published_at":"2020-08-12 19:15:00","updated_at":"2020-08-13 14:42:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","name":"https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"Check for output_len range in ecall_restore · google/asylo@e582f36 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8904","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8904","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Qinkun Bao, Zhaofeng Chen, Mingshen Sun, and Kang Li from Baidu Security","lang":""}],"nvd_cpes":[{"cve_year":"2020","cve_id":"8904","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"google","cpe5":"asylo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"8904","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"google","cpe5":"asylo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"}},"nvd":{"publishedDate":"2020-08-12 19:15:00","lastModifiedDate":"2020-08-13 14:42:00","problem_types":["CWE-119"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.6,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.1,"impactScore":5.8},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":5.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:google:asylo:*:*:*:*:*:*:*:*","versionEndExcluding":"0.6.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"8904","Ordinal":"169257","Title":"CVE-2020-8904","CVE":"CVE-2020-8904","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"8904","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"8904","Ordinal":"2","NoteData":"2020-08-12","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"8904","Ordinal":"3","NoteData":"2020-08-12","Type":"Other","Title":"Modified"}]}}}