{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-2828",
        "ASSIGNER": "security-officer@isc.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Every `named` instance configured to run as a recursive resolver maintains a cache database holding the responses to the queries it has recently sent to authoritative servers. The size limit for that cache database can be configured using the `max-cache-size` statement in the configuration file; it defaults to 90% of the total amount of memory available on the host. When the size of the cache reaches 7/8 of the configured limit, a cache-cleaning algorithm starts to remove expired and/or least-recently used RRsets from the cache, to keep memory use below the configured limit.\n\nIt has been discovered that the effectiveness of the cache-cleaning algorithm used in `named` can be severely diminished by querying the resolver for specific RRsets in a certain order, effectively allowing the configured `max-cache-size` limit to be significantly exceeded.\nThis issue affects BIND 9 versions 9.11.0 through 9.16.41, 9.18.0 through 9.18.15, 9.19.0 through 9.19.13, 9.11.3-S1 through 9.16.41-S1, and 9.18.11-S1 through 9.18.15-S1."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "ISC",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "BIND 9",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "9.11.0",
                                            "version_value": "9.16.41"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "9.18.0",
                                            "version_value": "9.18.15"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "9.19.0",
                                            "version_value": "9.19.13"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "9.11.3-S1",
                                            "version_value": "9.16.41-S1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "9.18.11-S1",
                                            "version_value": "9.18.15-S1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://kb.isc.org/docs/cve-2023-2828",
                "refsource": "MISC",
                "name": "https://kb.isc.org/docs/cve-2023-2828"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2023/06/21/6",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2023/06/21/6"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/"
            },
            {
                "url": "https://www.debian.org/security/2023/dsa-5439",
                "refsource": "MISC",
                "name": "https://www.debian.org/security/2023/dsa-5439"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SEFCEVCTYEMKTWA7V7EYPI5YQQ4JWDLI/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SEFCEVCTYEMKTWA7V7EYPI5YQQ4JWDLI/"
            },
            {
                "url": "https://security.netapp.com/advisory/ntap-20230703-0010/",
                "refsource": "MISC",
                "name": "https://security.netapp.com/advisory/ntap-20230703-0010/"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00021.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2023/07/msg00021.html"
            }
        ]
    },
    "source": {
        "discovery": "EXTERNAL"
    },
    "work_around": [
        {
            "lang": "en",
            "value": "No workarounds known."
        }
    ],
    "exploit": [
        {
            "lang": "en",
            "value": "We are not aware of any active exploits."
        }
    ],
    "solution": [
        {
            "lang": "en",
            "value": "Upgrade to the patched release most closely related to your current version of BIND 9: 9.16.42, 9.18.16, 9.19.14, 9.16.42-S1, or 9.18.16-S1."
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "ISC would like to thank Shoham Danino from Reichman University, Anat Bremler-Barr from Tel-Aviv University, Yehuda Afek from Tel-Aviv University, and Yuval Shavitt from Tel-Aviv University for bringing this vulnerability to our attention."
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "attackVector": "NETWORK",
                "attackComplexity": "LOW",
                "privilegesRequired": "NONE",
                "userInteraction": "NONE",
                "scope": "UNCHANGED",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "availabilityImpact": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "baseScore": 7.5,
                "baseSeverity": "HIGH"
            }
        ]
    }
}