title: Arbitrary enclave memory overwrite vulnerability in ECall ecall_restore
description: An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to UntrustedCall. UntrustedCall failed to validate the buffer range within sgx_params and allowed the host to return a pointer that was an address within the enclave memory. This allowed an attacker to read memory values from within the enclave.
problem types: CWE-125 Out-of-bounds Read
affected:
{
product: Asylo
vendor: Google LLC
versions:
lessThanOrEqual: 0.6.0, status: affected, version: 0.6.0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 5.3
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: LOW
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
version: 3.1
]
solutions: Upgrade past commit 83036fd841d33baa7e039f842d131aa7881fdcc2