{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2017-13704",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In dnsmasq before 2.78, if the DNS packet size does not match the expected size, the size parameter in a memset call gets a negative value. As it is an unsigned value, memset ends up writing up to 0xffffffff zero's (0xffffffffffffffff in 64 bit platforms), making dnsmasq crash."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "1039474",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1039474"
            },
            {
                "name": "https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq",
                "refsource": "CONFIRM",
                "url": "https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq"
            },
            {
                "name": "https://access.redhat.com/security/vulnerabilities/3199382",
                "refsource": "CONFIRM",
                "url": "https://access.redhat.com/security/vulnerabilities/3199382"
            },
            {
                "name": "101085",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/101085"
            },
            {
                "name": "101977",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/101977"
            },
            {
                "name": "FEDORA-2017-274d763ed8",
                "refsource": "FEDORA",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/"
            },
            {
                "name": "[dnsmasq-discuss] 20171002 Announce: dnsmasq-2.78.",
                "refsource": "MLIST",
                "url": "https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11665.html"
            },
            {
                "name": "http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=63437ffbb58837b214b4b92cb1c54bc5f3279928",
                "refsource": "CONFIRM",
                "url": "http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=63437ffbb58837b214b4b92cb1c54bc5f3279928"
            },
            {
                "name": "http://thekelleys.org.uk/dnsmasq/CHANGELOG",
                "refsource": "CONFIRM",
                "url": "http://thekelleys.org.uk/dnsmasq/CHANGELOG"
            },
            {
                "name": "https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html",
                "refsource": "MISC",
                "url": "https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html"
            },
            {
                "name": "[dnsmasq-discuss] 20171002 IMPORTANT SECURITY INFORMATION.",
                "refsource": "MLIST",
                "url": "https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11664.html"
            },
            {
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf",
                "refsource": "CONFIRM",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf"
            }
        ]
    }
}