CVEfocus › CVE database › CVE-2022-38177

CVE-2022-38177Memory leak in ECDSA DNSSEC verification code

CVSS 7.5 HighEPSS 4.3% (higher than 92% of CVEs)Published 2022-09-21Updated 2025-05-28Assigner: isc

By spoofing the target resolver with responses that have a malformed ECDSA 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.

CWE-401

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

106Fixed
2Fix pending
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04bind9Not affected
vulnerable_code_not_present
Ubuntu 22.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 20.04bind9Fixed1:9.16.1-0ubuntu2.11UBUNTU-CVE-2022-38177
Ubuntu 20.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 18.04bind9Fixed1:9.11.3+dfsg-1ubuntu1.18UBUNTU-CVE-2022-38177
Ubuntu 18.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 16.04bind9Fix pending1:9.10.3.dfsg.P4-8ubuntu1.19+esm3 (Ubuntu Pro)UBUNTU-CVE-2022-38177
Ubuntu 16.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 14.04bind9Fix pending1:9.9.5.dfsg-3ubuntu0.19+esm7 (Ubuntu Pro)UBUNTU-CVE-2022-38177
Debian 14bind9Fixed1:9.17.20-1DEBIAN-CVE-2022-38177
Debian 13bind9Fixed1:9.17.20-1DEBIAN-CVE-2022-38177
Debian 12bind9Fixed1:9.17.20-1DEBIAN-CVE-2022-38177
Red Hat Enterprise Linux 9bindFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9bind-chrootFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9bind-develFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9bind-dnssec-docFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9bind-dnssec-utilsFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9bind-libsFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9bind-licenseFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9bind-utilsFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 9dhcpNot affected
Red Hat Enterprise Linux 9dhcp-clientNot affected
Red Hat Enterprise Linux 9dhcp-commonNot affected
Red Hat Enterprise Linux 9dhcp-relayNot affected
Red Hat Enterprise Linux 9dhcp-serverNot affected
Red Hat Enterprise Linux 9python3-bindFixed32:9.16.23-1.el9_0.1RHSA-2022:6763
Red Hat Enterprise Linux 8bindFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-chrootFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-develFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-export-develFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-export-libsFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-libsFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-libs-liteFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-licenseFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-lite-develFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-pkcs11Fixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-pkcs11-develFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-pkcs11-libsFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-pkcs11-utilsFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-sdbFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-sdb-chrootFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind-utilsFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8bind9.16Fixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8bind9.16-chrootFixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8bind9.16-develFixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8bind9.16-docFixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8bind9.16-libsFixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8bind9.16-licenseFixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8bind9.16-utilsFixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 8python3-bindFixed32:9.11.36-3.el8_6.1RHSA-2022:6778
Red Hat Enterprise Linux 8python3-bind9.16Fixed32:9.16.23-0.7.el8_6.1RHSA-2022:6781
Red Hat Enterprise Linux 7bindFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-chrootFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-develFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-export-develFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-export-libsFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-libsFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-libs-liteFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-licenseFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-lite-develFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-pkcs11Fixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-pkcs11-develFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-pkcs11-libsFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-pkcs11-utilsFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-sdbFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-sdb-chrootFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 7bind-utilsFixed32:9.11.4-26.P2.el7_9.10RHSA-2022:6765
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
AlmaLinux 9bindFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9bind-chrootFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9bind-develFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9bind-dnssec-docFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9bind-dnssec-utilsFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9bind-libsFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9bind-licenseFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9bind-utilsFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 9python3-bindFixed32:9.16.23-1.el9_0.1ALSA-2022:6763
AlmaLinux 8bindFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-chrootFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-develFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-export-develFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-export-libsFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-libsFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-libs-liteFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-licenseFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-lite-develFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-pkcs11Fixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-pkcs11-develFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-pkcs11-libsFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-pkcs11-utilsFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-sdbFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-sdb-chrootFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind-utilsFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8bind9.16Fixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8bind9.16-chrootFixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8bind9.16-develFixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8bind9.16-docFixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8bind9.16-libsFixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8bind9.16-licenseFixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8bind9.16-utilsFixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
AlmaLinux 8python3-bindFixed32:9.11.36-3.el8_6.1ALSA-2022:6778
AlmaLinux 8python3-bind9.16Fixed32:9.16.23-0.7.el8_6.1ALSA-2022:6781
Rocky Linux 9bindFixed2:9.16.23-1.el9_0.1RLSA-2022:6763
Rocky Linux 8bindFixed2:9.11.36-3.el8_6.1RLSA-2022:6778
Rocky Linux 8bind9.16Fixed2:9.16.23-0.7.el8_6.1RLSA-2022:6781
Alpine Linux 3.24bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.23bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.22bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.21bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.20bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.19bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.18bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.17bindFixed9.18.7-r0ALPINE-CVE-2022-38177
Alpine Linux 3.16bindFixed9.16.33-r0ALPINE-CVE-2022-38177
Alpine Linux 3.15bindFixed9.16.33-r0ALPINE-CVE-2022-38177
Alpine Linux 3.14bindFixed9.16.33-r0ALPINE-CVE-2022-38177
Alpine Linux 3.13bindFixed9.16.33-r0ALPINE-CVE-2022-38177

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of BIND: BIND 9.16.33, or for BIND Supported Preview Edition (a special feature preview branch of BIND provided to eligible ISC support customers): BIND 9.16.33-S1.

Workaround: Disable the following algorithms in your configuration using the disable-algorithms option: ECDSAP256SHA256, ECDSAP384SHA384. Note that this causes zones signed with these algorithms to be treated as insecure.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.