{
    "CVE_data_meta": {
        "ASSIGNER": "security@google.com",
        "ID": "CVE-2020-8944",
        "STATE": "PUBLIC",
        "TITLE": "Unchecked buffer overrun in ecall_restore"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Asylo",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "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 write vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to ecall_restore using the attribute output which fails to check the range of a pointer. An attacker can use this pointer to write to arbitrary memory addresses including those within the secure enclave We recommend upgrading past commit 382da2b8b09cbf928668a2445efb778f76bd9c8a"
            }
        ]
    },
    "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-120 Buffer Overflow"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/google/asylo/commit/382da2b8b09cbf928668a2445efb778f76bd9c8a",
                "refsource": "CONFIRM",
                "url": "https://github.com/google/asylo/commit/382da2b8b09cbf928668a2445efb778f76bd9c8a"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "We recommend upgrading past commit 382da2b8b09cbf928668a2445efb778f76bd9c8a"
        }
    ],
    "source": {
        "discovery": "UNKNOWN"
    }
}
