Vulnerability · Published Feb 14, 2024 · Assigned by mitre
CVE-2023-50387
High 7.5
In plain English
A high-severity resource allocation without limits in the bind package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 100.0% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more DNSSEC responses, aka the "KeyTrap" issue. One of the concerns is that, when there is a zone with many DNSKEY and RRSIG records, the protocol specification implies that an algorithm must evaluate all combinations of DNSKEY and RRSIG records.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bind | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:9 | bind | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:8 | bind-chroot | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-chroot | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:9 | bind-chroot | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:9 | bind-chroot | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:8 | bind-devel | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-devel | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:9 | bind-devel | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:9 | bind-devel | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind-dnssec-doc | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:9 | bind-dnssec-doc | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind-dnssec-utils | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:9 | bind-dnssec-utils | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind-doc | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind-doc | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:9 | bind-dyndb-ldap | 11.9-9.el9_4.alma.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind-dyndb-ldap | 11.9-8.el9_3.3.alma.1 | ALSA-2024:1789 |
| AlmaLinux:8 | bind-export-devel | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-export-devel | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-export-libs | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-export-libs | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-libs | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-libs | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:9 | bind-libs | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind-libs | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:8 | bind-libs-lite | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-libs-lite | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-license | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-license | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:9 | bind-license | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:9 | bind-license | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:8 | bind-lite-devel | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-lite-devel | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-pkcs11 | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-pkcs11 | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-pkcs11-devel | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-pkcs11-devel | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-pkcs11-libs | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-pkcs11-libs | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-pkcs11-utils | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-pkcs11-utils | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-sdb | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-sdb | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-sdb-chroot | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-sdb-chroot | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | bind-utils | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:8 | bind-utils | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:9 | bind-utils | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:9 | bind-utils | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:8 | bind9.16 | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | bind9.16-chroot | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | bind9.16-devel | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | bind9.16-dnssec-utils | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | bind9.16-doc | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | bind9.16-libs | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | bind9.16-license | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | bind9.16-utils | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | dnsmasq | 2.79-31.el8_9.2 | ALSA-2024:1335 |
| AlmaLinux:9 | dnsmasq | 2.85-14.el9_3.1 | ALSA-2024:1334 |
| AlmaLinux:8 | dnsmasq-utils | 2.79-31.el8_9.2 | ALSA-2024:1335 |
| AlmaLinux:9 | dnsmasq-utils | 2.85-14.el9_3.1 | ALSA-2024:1334 |
| AlmaLinux:8 | python3-bind | 32:9.11.36-14.el8_10 | ALSA-2024:3271 |
| AlmaLinux:8 | python3-bind | 32:9.11.36-11.el8_9.1 | ALSA-2024:1782 |
| AlmaLinux:9 | python3-bind | 32:9.16.23-14.el9_3.4 | ALSA-2024:1789 |
| AlmaLinux:9 | python3-bind | 32:9.16.23-18.el9_4.1 | ALSA-2024:2551 |
| AlmaLinux:8 | python3-bind9.16 | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux:8 | python3-unbound | 1.16.2-5.el8_9.2 | ALSA-2024:0965 |
| AlmaLinux:9 | python3-unbound | 1.16.2-3.el9_3.1 | ALSA-2024:0977 |
| AlmaLinux:8 | unbound | 1.16.2-5.el8_9.2 | ALSA-2024:0965 |
| AlmaLinux:9 | unbound | 1.16.2-3.el9_3.1 | ALSA-2024:0977 |
| AlmaLinux:8 | unbound-devel | 1.16.2-5.el8_9.2 | ALSA-2024:0965 |
| AlmaLinux:9 | unbound-devel | 1.16.2-3.el9_3.1 | ALSA-2024:0977 |
| AlmaLinux:8 | unbound-libs | 1.16.2-5.el8_9.2 | ALSA-2024:0965 |
| AlmaLinux:9 | unbound-libs | 1.16.2-3.el9_3.1 | ALSA-2024:0977 |
| Alpine:v3.20 | bind | 9.18.24-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.21 | bind | 9.18.24-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.22 | bind | 9.18.24-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.23 | bind | 9.18.24-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.24 | bind | 9.18.24-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.20 | dnsmasq | 2.90-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.21 | dnsmasq | 2.90-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.22 | dnsmasq | 2.90-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.23 | dnsmasq | 2.90-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.24 | dnsmasq | 2.90-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.20 | knot-resolver | 5.7.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.21 | knot-resolver | 5.7.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.22 | knot-resolver | 5.7.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.23 | knot-resolver | 5.7.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.24 | knot-resolver | 5.7.1-r0, 5.7.7-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.20 | pdns-recursor | 5.0.2-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.21 | pdns-recursor | 5.0.2-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.22 | pdns-recursor | 5.0.2-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.23 | pdns-recursor | 5.0.2-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.24 | pdns-recursor | 5.0.2-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.20 | unbound | 1.19.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.21 | unbound | 1.19.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.22 | unbound | 1.19.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.23 | unbound | 1.19.1-r0 | ALPINE-CVE-2023-50387 |
| Alpine:v3.24 | unbound | 1.19.1-r0 | ALPINE-CVE-2023-50387 |
| Debian:12 | bind9 | 1:9.18.24-1 | DSA-5621-1 |
| Debian:12 | bind9 | 1:9.18.24-1 | DEBIAN-CVE-2023-50387 |
| Debian:13 | bind9 | 1:9.19.21-1 | DEBIAN-CVE-2023-50387 |
| Debian:14 | bind9 | 1:9.19.21-1 | DEBIAN-CVE-2023-50387 |
| Debian:12 | dnsjava | no fix listed | DEBIAN-CVE-2023-50387 |
| Debian:13 | dnsjava | 3.6.2-1 | DEBIAN-CVE-2023-50387 |
| Debian:14 | dnsjava | 3.6.2-1 | DEBIAN-CVE-2023-50387 |
| Debian:12 | dnsmasq | 2.90-4~deb12u1 | DEBIAN-CVE-2023-50387 |
| Debian:13 | dnsmasq | 2.90-1 | DEBIAN-CVE-2023-50387 |
| Debian:14 | dnsmasq | 2.90-1 | DEBIAN-CVE-2023-50387 |
| Debian:12 | knot-resolver | 5.6.0-1+deb12u1 | DSA-5633-1 |
| Debian:12 | knot-resolver | 5.6.0-1+deb12u1 | DEBIAN-CVE-2023-50387 |
| Debian:13 | knot-resolver | 5.7.1-1 | DEBIAN-CVE-2023-50387 |
| Debian:14 | knot-resolver | 5.7.1-1 | DEBIAN-CVE-2023-50387 |
| Debian:12 | pdns-recursor | 4.8.6-1 | DSA-5626-1 |
| Debian:12 | pdns-recursor | 4.8.6-1 | DEBIAN-CVE-2023-50387 |
| Debian:13 | pdns-recursor | 4.9.3-1 | DEBIAN-CVE-2023-50387 |
| Debian:14 | pdns-recursor | 4.9.3-1 | DEBIAN-CVE-2023-50387 |
| Debian:12 | systemd | 252.23-1~deb12u1 | DEBIAN-CVE-2023-50387 |
| Debian:13 | systemd | 255.4-1 | DEBIAN-CVE-2023-50387 |
| Debian:14 | systemd | 255.4-1 | DEBIAN-CVE-2023-50387 |
| Debian:12 | unbound | 1.17.1-2+deb12u2 | DSA-5620-1 |
| Debian:12 | unbound | 1.17.1-2+deb12u2 | DEBIAN-CVE-2023-50387 |
| Debian:13 | unbound | 1.19.1-1 | DEBIAN-CVE-2023-50387 |
| Debian:14 | unbound | 1.19.1-1 | DEBIAN-CVE-2023-50387 |
| Rocky Linux:8 | bind | 2:9.11.36-14.el8_10 | RLSA-2024:3271 |
| Rocky Linux:8 | bind | 2:9.11.36-11.el8_9.1 | RLSA-2024:1782 |
| Rocky Linux:9 | bind | 2:9.16.23-18.el9_4.1 | RLSA-2024:2551 |
| Rocky Linux:9 | bind-dyndb-ldap | 0:11.9-9.el9_4 | RLSA-2024:2551 |
| Rocky Linux:8 | bind9.16 | 2:9.16.23-0.16.el8_9.2 | RLSA-2024:1781 |
| Rocky Linux:8 | dhcp | 2:4.3.6-50.el8_10 | RLSA-2024:3271 |
| Rocky Linux:8 | dhcp | 2:4.3.6-49.el8_9.1 | RLSA-2024:1782 |
| Rocky Linux:8 | dnsmasq | 0:2.79-31.el8_9.2 | RLSA-2024:1335 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.18-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-50387 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.18-0ubuntu0.22.04.2 | USN-6633-1 |
| Ubuntu:22.04:LTS | bind9-libs | no fix listed | UBUNTU-CVE-2023-50387 |
| Ubuntu:22.04:LTS | dnsmasq | 2.90-0ubuntu0.22.04.1 | USN-6657-1 |
| Ubuntu:22.04:LTS | dnsmasq | 2.90-0ubuntu0.22.04.1 | UBUNTU-CVE-2023-50387 |
| Ubuntu:24.04:LTS | isc-dhcp | no fix listed | UBUNTU-CVE-2023-50387 |
| Ubuntu:25.10 | isc-dhcp | no fix listed | UBUNTU-CVE-2023-50387 |
| Ubuntu:26.04:LTS | isc-dhcp | no fix listed | UBUNTU-CVE-2023-50387 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.4 | UBUNTU-CVE-2023-50387 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.17 | USN-8946-1 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.4 | USN-6665-1 |
| Ubuntu:24.04:LTS | unbound | 1.19.2-1ubuntu3.12 | USN-8946-1 |
| Ubuntu:24.04:LTS | unbound | 1.19.1-1ubuntu1 | UBUNTU-CVE-2023-50387 |
| Ubuntu:26.04:LTS | unbound | 1.24.2-1ubuntu2.4 | USN-8946-1 |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://www.athene-center.de/aktuelles/key-trap
- https://nlnetlabs.nl/news/2024/Feb/13/unbound-1.19.1-released/
- https://kb.isc.org/docs/cve-2023-50387
- https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2024-01.html
- https://www.theregister.com/2024/02/13/dnssec_vulnerability_internet/
- https://news.ycombinator.com/item?id=39367411
- https://www.securityweek.com/keytrap-dns-attack-could-disable-large-parts-of-internet-researchers/
- https://www.isc.org/blogs/2024-bind-security-release/
- https://news.ycombinator.com/item?id=39372384
- https://gitlab.nic.cz/knot/knot-resolver/-/releases/v5.7.1
- https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.html
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-50387
- https://access.redhat.com/security/cve/CVE-2023-50387
- https://bugzilla.suse.com/show_bug.cgi?id=1219823
- https://www.athene-center.de/fileadmin/content/PDF/Technical_Report_KeyTrap.pdf
- [oss-security] 20240216 Re: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities mailing-list
- [oss-security] 20240216 Re: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities mailing-list
- FEDORA-2024-2e26eccfcb vendor-advisory
- FEDORA-2024-e24211eff0 vendor-advisory
- FEDORA-2024-21310568fa vendor-advisory
- [debian-lts-announce] 20240221 [SECURITY] [DLA 3736-1] unbound security update mailing-list
- FEDORA-2024-b0f9656a76 vendor-advisory
- FEDORA-2024-4e36df9dfd vendor-advisory
- FEDORA-2024-499b9be35f vendor-advisory
- FEDORA-2024-c36c448396 vendor-advisory
- FEDORA-2024-c967c7d287 vendor-advisory
- FEDORA-2024-e00eceb11c vendor-advisory
- FEDORA-2024-fae88b73eb vendor-advisory
- https://security.netapp.com/advisory/ntap-20240307-0007/
- [debian-lts-announce] 20240517 [SECURITY] [DLA 3816-1] bind9 security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/11/msg00035.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00001.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6XIVDP4GYPD3AI/