CVE-2022-38177Memory leak in ECDSA DNSSEC verification code
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | bind9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | bind9 | Fixed | 1:9.16.1-0ubuntu2.11 | UBUNTU-CVE-2022-38177 |
| Ubuntu 20.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | bind9 | Fixed | 1:9.11.3+dfsg-1ubuntu1.18 | UBUNTU-CVE-2022-38177 |
| Ubuntu 18.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | bind9 | Fix pending | 1:9.10.3.dfsg.P4-8ubuntu1.19+esm3 (Ubuntu Pro) | UBUNTU-CVE-2022-38177 |
| Ubuntu 16.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | bind9 | Fix pending | 1:9.9.5.dfsg-3ubuntu0.19+esm7 (Ubuntu Pro) | UBUNTU-CVE-2022-38177 |
| Debian 14 | bind9 | Fixed | 1:9.17.20-1 | DEBIAN-CVE-2022-38177 |
| Debian 13 | bind9 | Fixed | 1:9.17.20-1 | DEBIAN-CVE-2022-38177 |
| Debian 12 | bind9 | Fixed | 1:9.17.20-1 | DEBIAN-CVE-2022-38177 |
| Red Hat Enterprise Linux 9 | bind | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | bind-chroot | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | bind-devel | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | bind-libs | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | bind-license | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | bind-utils | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 9 | dhcp | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-client | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-common | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-relay | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-server | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-bind | Fixed | 32:9.16.23-1.el9_0.1 | RHSA-2022:6763 |
| Red Hat Enterprise Linux 8 | bind | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-chroot | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-devel | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-export-devel | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-export-libs | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-libs | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-libs-lite | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-license | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-lite-devel | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-pkcs11 | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-devel | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-libs | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-utils | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-sdb | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-sdb-chroot | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind-utils | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | bind9.16 | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | bind9.16-license | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 8 | python3-bind | Fixed | 32:9.11.36-3.el8_6.1 | RHSA-2022:6778 |
| Red Hat Enterprise Linux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.7.el8_6.1 | RHSA-2022:6781 |
| Red Hat Enterprise Linux 7 | bind | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-export-devel | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-export-libs | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.11.4-26.P2.el7_9.10 | RHSA-2022:6765 |
| Red Hat Enterprise Linux 6 | bind | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-utils | Not affected | ||
| AlmaLinux 9 | bind | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | bind-chroot | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | bind-devel | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | bind-libs | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | bind-license | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | bind-utils | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 9 | python3-bind | Fixed | 32:9.16.23-1.el9_0.1 | ALSA-2022:6763 |
| AlmaLinux 8 | bind | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-chroot | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-devel | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-export-devel | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-export-libs | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-libs | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-libs-lite | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-license | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-lite-devel | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-pkcs11 | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-pkcs11-devel | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-pkcs11-libs | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-pkcs11-utils | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-sdb | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-sdb-chroot | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind-utils | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | bind9.16 | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | bind9.16-license | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| AlmaLinux 8 | python3-bind | Fixed | 32:9.11.36-3.el8_6.1 | ALSA-2022:6778 |
| AlmaLinux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.7.el8_6.1 | ALSA-2022:6781 |
| Rocky Linux 9 | bind | Fixed | 2:9.16.23-1.el9_0.1 | RLSA-2022:6763 |
| Rocky Linux 8 | bind | Fixed | 2:9.11.36-3.el8_6.1 | RLSA-2022:6778 |
| Rocky Linux 8 | bind9.16 | Fixed | 2:9.16.23-0.7.el8_6.1 | RLSA-2022:6781 |
| Alpine Linux 3.24 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.23 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.22 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.21 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.20 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.19 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.18 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.17 | bind | Fixed | 9.18.7-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.16 | bind | Fixed | 9.16.33-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.15 | bind | Fixed | 9.16.33-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.14 | bind | Fixed | 9.16.33-r0 | ALPINE-CVE-2022-38177 |
| Alpine Linux 3.13 | bind | Fixed | 9.16.33-r0 | ALPINE-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.
- ISC BIND9: affected: Open Source Branches 9.8 through 9.16 9.8.4 through versions before 9.16.33, Supported Preview Branches 9.9-S through 9.11-S 9.9.4-S1 through versions up to and including 9.11.37-S1, Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.33-S1
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:
- https://www.debian.org/security/2022/dsa-5235 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202210-25 (vendor-advisory)
References
- https://kb.isc.org/docs/cve-2022-38177
- http://www.openwall.com/lists/oss-security/2022/09/21/3
- https://www.debian.org/security/2022/dsa-5235
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4GQWBPF7Y52J2FA24U6UMHQAOXZEF7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRHB6J4Z7BKH4HPEKG5D35QGRD6ANNMT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZJQNUASODNVAWZV6STKG5SD6XIJ446S/
- https://lists.debian.org/debian-lts-announce/2022/10/msg00007.html
- https://security.gentoo.org/glsa/202210-25
- https://security.netapp.com/advisory/ntap-20221228-0010/
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.