Critical severity · published Aug 12, 2020
CVE-2020-8904
An arbitrary memory overwrite vulnerability in the trusted memory of Asylo exists in versions prior to 0.6.0
9.6
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 14% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Asylo · Google
before 0.6.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-8904
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-8904
Patch
https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e
More from Asylo
7.8
CVE-2021-22550
An attacker can modify the pointers in enclave memory to overwrite arbitrary memory addresses within the secure enclave
7.8
CVE-2021-22549
An attacker can modify the address to point to trusted memory to overwrite arbitrary trusted memory
7.8
CVE-2021-22548
An attacker can change the pointer to untrusted memory to point to trusted memory region which causes copying trusted memory to trusted memory, if the latter is later copied out,…
7.8
CVE-2020-8935
An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allow an attacker to make an Ecall_restore function call to reallocate untrusted code and overwrite…
6.5
CVE-2020-8905
A buffer length validation vulnerability in Asylo versions prior to 0.6.0 allows an attacker to read data they should not have access to
