{
    "CVE_data_meta": {
        "ASSIGNER": "zdi-disclosures@trendmicro.com",
        "ID": "CVE-2021-34829",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "DAP-1330",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "1.13B01 BETA"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "D-Link"
                }
            ]
        }
    },
    "credit": "phieulang",
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1330 1.13B01 BETA routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the HNAP_AUTH HTTP header. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length buffer. An attacker can leverage this vulnerability to execute code in the context of the device. Was ZDI-CAN-12065."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://www.zerodayinitiative.com/advisories/ZDI-21-681/",
                "refsource": "MISC",
                "name": "https://www.zerodayinitiative.com/advisories/ZDI-21-681/"
            }
        ]
    },
    "impact": {
        "cvss": {
            "vectorString": "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    }
}