{
    "CVE_data_meta": {
        "ASSIGNER": "vulnerabilities@zephyrproject.org",
        "DATE_PUBLIC": "2020-05-25T00:00:00.000Z",
        "ID": "CVE-2020-10062",
        "STATE": "PUBLIC",
        "TITLE": "Packet length decoding error in MQTT"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "zephyr",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": ">=",
                                            "version_value": "2.2.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "zephyrproject-rtos"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "NCC Group for report"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "An off-by-one error in the Zephyr project MQTT packet length decoder can result in memory corruption and possible remote code execution. NCC-ZEP-031 This issue affects: zephyrproject-rtos zephyr version 2.2.0 and later versions."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-193 Off-by-one Error"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-84",
                "name": "https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-84"
            },
            {
                "refsource": "MISC",
                "url": "https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10062",
                "name": "https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10062"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/11b7a37d9a0b438270421b224221d91929843de4",
                "name": "https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/11b7a37d9a0b438270421b224221d91929843de4"
            },
            {
                "refsource": "MISC",
                "url": "https://research.nccgroup.com/2020/05/26/research-report-zephyr-and-mcuboot-security-assessment",
                "name": "https://research.nccgroup.com/2020/05/26/research-report-zephyr-and-mcuboot-security-assessment"
            }
        ]
    },
    "source": {
        "defect": [
            "https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-84"
        ],
        "discovery": "EXTERNAL"
    }
}