{
    "CVE_data_meta": {
        "ASSIGNER": "security@google.com",
        "ID": "CVE-2020-8936",
        "STATE": "PUBLIC",
        "TITLE": "Arbitrary enclave memory overwrite vulnerability in ECall ecall_restore"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Asylo",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "0.6.0",
                                            "version_value": "0.6.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Google LLC"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Qinkun Bao (Baidu Security)"
        },
        {
            "lang": "eng",
            "value": "Zhaofeng Chen (Baidu Security)"
        },
        {
            "lang": "eng",
            "value": "Mingshen Sun (Baidu Security)"
        },
        {
            "lang": "eng",
            "value": "Kang Li (Baidu Security)"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "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"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-125 Out-of-bounds Read"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2",
                "refsource": "CONFIRM",
                "url": "https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "Upgrade past commit 83036fd841d33baa7e039f842d131aa7881fdcc2"
        }
    ],
    "source": {
        "discovery": "EXTERNAL"
    }
}
