{
    "CVE_data_meta": {
        "ASSIGNER": "security-officer@isc.org",
        "DATE_PUBLIC": "2018-08-08T08:00:00.000Z",
        "ID": "CVE-2018-5740",
        "STATE": "PUBLIC",
        "TITLE": "A flaw in the \"deny-answer-aliases\" feature can cause an assertion failure in named"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "BIND 9",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_name": "BIND 9 ",
                                            "version_value": "9.7.0->9.8.8, 9.9.0->9.9.13, 9.10.0->9.10.8, 9.11.0->9.11.4, 9.12.0->9.12.2, 9.13.0->9.13.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "ISC"
                }
            ]
        }
    },
    "configuration": [
        {
            "lang": "eng",
            "value": "Only servers which have explicitly enabled the \"deny-answer-aliases\" feature are at risk and disabling the feature prevents exploitation."
        }
    ],
    "credit": [
        {
            "lang": "eng",
            "value": "ISC would like to thank Tony Finch of the University of Cambridge for reporting this issue."
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "\"deny-answer-aliases\" is a little-used feature intended to help recursive server operators protect end users against DNS rebinding attacks, a potential method of circumventing the security model used by client browsers. However, a defect in this feature makes it easy, when the feature is in use, to experience an assertion failure in name.c. Affects BIND 9.7.0->9.8.8, 9.9.0->9.9.13, 9.10.0->9.10.8, 9.11.0->9.11.4, 9.12.0->9.12.2, 9.13.0->9.13.2."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Accidental or deliberate triggering of this defect will cause a REQUIRE assertion failure in named, causing the named process to stop execution and resulting in denial of service to clients."
                    },
                    {
                        "lang": "eng",
                        "value": "Accidental or deliberate triggering of this defect will cause a REQUIRE assertion failure in named, causing the named process to stop execution and resulting in denial of service to clients.  Only servers which have explicitly enabled the \"deny-answer-aliases\" feature are at risk and disabling the feature prevents exploitation."
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "105055",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/105055"
            },
            {
                "name": "[debian-lts-announce] 20180830 [SECURITY] [DLA 1485-1] bind9 security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2018/08/msg00033.html"
            },
            {
                "name": "RHSA-2018:2570",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2570"
            },
            {
                "name": "RHSA-2018:2571",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2571"
            },
            {
                "name": "USN-3769-2",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3769-2/"
            },
            {
                "name": "1041436",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1041436"
            },
            {
                "name": "https://security.netapp.com/advisory/ntap-20180926-0003/",
                "refsource": "CONFIRM",
                "url": "https://security.netapp.com/advisory/ntap-20180926-0003/"
            },
            {
                "name": "https://kb.isc.org/docs/aa-01639",
                "refsource": "CONFIRM",
                "url": "https://kb.isc.org/docs/aa-01639"
            },
            {
                "name": "USN-3769-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3769-1/"
            },
            {
                "name": "GLSA-201903-13",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201903-13"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1533",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00027.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2019:1532",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00026.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03927en_us",
                "url": "https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03927en_us"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20211102 [SECURITY] [DLA 2807-1] bind9 security update",
                "url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00001.html"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "Most operators will not need to make any changes unless they are using the \"deny-answer-aliases\" feature (which is described in the BIND 9 Adminstrator Reference Manual section 6.2.)  \"deny-answer-aliases\" is off by default; only configurations which explicitly enable it can be affected by this defect.\n\nIf you are using \"deny-answer-aliases\", upgrade to the patched release most closely related to your current version of BIND.\n\n    9.9.13-P1\n    9.10.8-P1\n    9.11.4-P1\n    9.12.2-P1\n\nBIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers.\n\n    9.11.3-S3\n"
        }
    ],
    "source": {
        "discovery": "EXTERNAL"
    },
    "work_around": [
        {
            "lang": "eng",
            "value": "This vulnerability can be avoided by disabling the \"deny-answer-aliases\" feature if it is in use."
        }
    ]
}