{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-38178",
        "assignerOrgId": "404fd4d2-a609-4245-b543-2c944a302a22",
        "assignerShortName": "isc",
        "dateUpdated": "2024-09-17T02:58:12.991Z",
        "dateReserved": "2022-08-12T00:00:00",
        "datePublished": "2022-09-21T10:15:29.078642Z"
    },
    "containers": {
        "cna": {
            "title": "Memory leaks in EdDSA DNSSEC verification code",
            "datePublic": "2022-09-21T00:00:00",
            "providerMetadata": {
                "orgId": "404fd4d2-a609-4245-b543-2c944a302a22",
                "shortName": "isc",
                "dateUpdated": "2022-12-28T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "By spoofing the target resolver with responses that have a malformed EdDSA signature, an attacker can trigger a small memory leak. It is possible to gradually erode available memory to the point where named crashes for lack of resources."
                }
            ],
            "affected": [
                {
                    "vendor": "ISC",
                    "product": "BIND9",
                    "versions": [
                        {
                            "version": "Open Source Branch 9.9 9.9.12 through versions up to and including 9.9.13",
                            "status": "affected"
                        },
                        {
                            "version": "Open Source Branch 9.10 9.10.7 through versions up to and including 9.10.8",
                            "status": "affected"
                        },
                        {
                            "version": "Open Source Branches 9.11 through 9.16 9.11.3 through versions before 9.16.33",
                            "status": "affected"
                        },
                        {
                            "version": "Open Source Branch 9.18 9.18.0 through versions before 9.18.7",
                            "status": "affected"
                        },
                        {
                            "version": "Supported Preview Branch 9.11-S 9.11.4-S1 through versions up to and including 9.11.37-S1",
                            "status": "affected"
                        },
                        {
                            "version": "Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.33-S1",
                            "status": "affected"
                        },
                        {
                            "version": "Development Branch 9.19 9.19.0 through versions before 9.19.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://kb.isc.org/docs/cve-2022-38178"
                },
                {
                    "name": "[oss-security] 20220921 ISC has disclosed six vulnerabilities in BIND (CVE-2022-2795, CVE-2022-2881, CVE-2022-2906, CVE-2022-3080, CVE-2022-38177, CVE-2022-38178)",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2022/09/21/3"
                },
                {
                    "name": "DSA-5235",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://www.debian.org/security/2022/dsa-5235"
                },
                {
                    "name": "FEDORA-2022-ef038365de",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4GQWBPF7Y52J2FA24U6UMHQAOXZEF7/"
                },
                {
                    "name": "FEDORA-2022-8268735e06",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRHB6J4Z7BKH4HPEKG5D35QGRD6ANNMT/"
                },
                {
                    "name": "FEDORA-2022-b197d64471",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZJQNUASODNVAWZV6STKG5SD6XIJ446S/"
                },
                {
                    "name": "[debian-lts-announce] 20221005 [SECURITY] [DLA 3138-1] bind9 security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00007.html"
                },
                {
                    "name": "GLSA-202210-25",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202210-25"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20221228-0009/"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "In BIND 9.9.12 -> 9.9.13, 9.10.7 -> 9.10.8, 9.11.3 -> 9.16.32, 9.18.0 -> 9.18.6, versions 9.11.4-S1 -> 9.11.37-S1, 9.16.8-S1 -> 9.16.32-S1 of the BIND Supported Preview Edition, and versions 9.19.0 -> 9.19.4 of the BIND 9.19 development branch, the DNSSEC verification code for the EdDSA algorithm leaks memory when there is a signature length mismatch."
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "INTERNAL"
            },
            "workarounds": [
                {
                    "lang": "en",
                    "value": "Disable the following algorithms in your configuration using the disable-algorithms option: ED25519, ED448. Note that this causes zones signed with these algorithms to be treated as insecure."
                }
            ],
            "exploits": [
                {
                    "lang": "en",
                    "value": "This flaw was discovered in internal testing. We are not aware of any active exploits."
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to the patched release most closely related to your current version of BIND: BIND 9.16.33, BIND 9.18.7, BIND 9.19.5, or for BIND Supported Preview Edition (a special feature preview branch of BIND provided to eligible ISC support customers): BIND 9.16.33-S1."
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T10:45:52.980Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://kb.isc.org/docs/cve-2022-38178",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "[oss-security] 20220921 ISC has disclosed six vulnerabilities in BIND (CVE-2022-2795, CVE-2022-2881, CVE-2022-2906, CVE-2022-3080, CVE-2022-38177, CVE-2022-38178)",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2022/09/21/3"
                    },
                    {
                        "name": "DSA-5235",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2022/dsa-5235"
                    },
                    {
                        "name": "FEDORA-2022-ef038365de",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4GQWBPF7Y52J2FA24U6UMHQAOXZEF7/"
                    },
                    {
                        "name": "FEDORA-2022-8268735e06",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRHB6J4Z7BKH4HPEKG5D35QGRD6ANNMT/"
                    },
                    {
                        "name": "FEDORA-2022-b197d64471",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZJQNUASODNVAWZV6STKG5SD6XIJ446S/"
                    },
                    {
                        "name": "[debian-lts-announce] 20221005 [SECURITY] [DLA 3138-1] bind9 security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00007.html"
                    },
                    {
                        "name": "GLSA-202210-25",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202210-25"
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20221228-0009/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}