CVE-2023-50387: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities
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.
Other sources
ISC BIND is vulnerable to a denial of service, caused by an error when processing responses coming from specially crafted DNSSEC-signed zones. By flooding the target server with queries, a remote attacker could exploit this vulnerability to cause CPU exhaustion on a DNSSEC-validating resolver.
— IBM
MITRE: CVE-2023-50387 DNSSEC verification complexity can be exploited to exhaust CPU resources and stall DNS resolvers
— Microsoft
The processing of responses coming from specially crafted DNSSEC-signed zones can cause CPU exhaustion on a DNSSEC-validating resolver.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/bindto a version that resolves this vulnerability.Fixed in 9.16.48 - Upgrade
Upgrade
redhat/bindto a version that resolves this vulnerability.Fixed in 9.18.24 - Upgrade
Upgrade
redhat/bindto a version that resolves this vulnerability.Fixed in 9.19.21 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.1.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.1.6.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 15.1.10.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.3.9600.21813Patch KB5034819 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.2.9200.24710Patch KB5034830 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.1.7601.26961Patch KB5034809 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.20348.2322Patch KB5034770 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.14393.6709Patch KB5034767 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.17763.5458Patch KB5034768 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.0.25398.709Patch KB5034769 - Upgrade
Upgrade
alpine/bindto a version that resolves this vulnerability.Fixed in 9.16.48-r0 - Upgrade
Upgrade
alpine/bindto a version that resolves this vulnerability.Fixed in 9.18.24-r0 - Upgrade
Upgrade
alpine/dnsmasqto a version that resolves this vulnerability.Fixed in 2.90-r0 - Upgrade
Upgrade
alpine/knot-resolverto a version that resolves this vulnerability.Fixed in 5.7.1-r0 - Upgrade
Upgrade
alpine/pdns-recursorto a version that resolves this vulnerability.Fixed in 4.9.3-r0 - Upgrade
Upgrade
alpine/pdns-recursorto a version that resolves this vulnerability.Fixed in 5.0.2-r0 - Upgrade
Upgrade
alpine/unboundto a version that resolves this vulnerability.Fixed in 1.19.1-r0 - Upgrade
Upgrade
debian/bind9to a version that resolves this vulnerability.Fixed in 1:9.11.5.P4+dfsg-5.1+deb10u11Fixed in 1:9.16.48-1Fixed in 1:9.18.24-1Fixed in 1:9.19.21-1 - Upgrade
Upgrade
debian/dnsjavato a version that resolves this vulnerability.Fixed in 3.6.2-1 - Upgrade
Upgrade
debian/dnsmasqto a version that resolves this vulnerability.Fixed in 2.85-1+deb11u1Fixed in 2.90-4~deb12u1Fixed in 2.90-1 - Upgrade
Upgrade
debian/knot-resolverto a version that resolves this vulnerability.Fixed in 5.6.0-1+deb12u1Fixed in 5.7.1-1 - Upgrade
Upgrade
debian/pdns-recursorto a version that resolves this vulnerability.Fixed in 4.8.6-1Fixed in 4.9.3-1 - Upgrade
Upgrade
debian/systemdto a version that resolves this vulnerability.Fixed in 247.3-7+deb11u6Fixed in 252.23-1~deb12u1Fixed in 255.4-1 - Upgrade
Upgrade
debian/unboundto a version that resolves this vulnerability.Fixed in 1.9.0-2+deb10u4Fixed in 1.13.1-1+deb11u2Fixed in 1.17.1-2+deb12u2Fixed in 1.19.1-1 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.9.5.dfsg-3ubuntu0.19+esm12 - Upgrade
Upgrade
ubuntu/unboundto a version that resolves this vulnerability.Fixed in 1.4.22-1ubuntu4.14.04.3+esm5 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.10.3.dfsg.P4-8ubuntu1.19+esm8 - Upgrade
Upgrade
ubuntu/dnsmasqto a version that resolves this vulnerability.Fixed in 2.90-0ubuntu0.16.04.1+esm1 - Upgrade
Upgrade
ubuntu/unboundto a version that resolves this vulnerability.Fixed in 1.5.8-1ubuntu1.1+esm5 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.11.3+dfsg-1ubuntu1.19+esm3 - Upgrade
Upgrade
ubuntu/dnsmasqto a version that resolves this vulnerability.Fixed in 2.90-0ubuntu0.18.04.1+esm1 - Upgrade
Upgrade
ubuntu/unboundto a version that resolves this vulnerability.Fixed in 1.6.7-1ubuntu2.6+esm6 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.16.48-0ubuntu0.20.04.1 - Upgrade
Upgrade
ubuntu/dnsmasqto a version that resolves this vulnerability.Fixed in 2.90-0ubuntu0.20.04.1 - Upgrade
Upgrade
ubuntu/unboundto a version that resolves this vulnerability.Fixed in 1.9.4-2ubuntu1.5 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.18.18-0ubuntu0.22.04.2 - Upgrade
Upgrade
ubuntu/dnsmasqto a version that resolves this vulnerability.Fixed in 2.90-0ubuntu0.22.04.1 - Upgrade
Upgrade
ubuntu/unboundto a version that resolves this vulnerability.Fixed in 1.13.1-1ubuntu5.4 - Upgrade
Upgrade
ubuntu/unboundto a version that resolves this vulnerability.Fixed in 1.19.1-1ubuntu1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2023-50387?
CVE-2023-50387 has been assessed with a severity level that allows remote attackers to cause a denial of service.
What systems are affected by CVE-2023-50387?
CVE-2023-50387 affects multiple versions of Microsoft Windows Server, various DNS software including BIND and PowerDNS, and several Linux distributions.
How do I fix CVE-2023-50387?
To fix CVE-2023-50387, apply the specific patches and updates provided by your software vendor.
What is the nature of the vulnerability in CVE-2023-50387?
The vulnerability in CVE-2023-50387 originates from certain DNSSEC aspects of the DNS protocol that can be exploited for denial of service.
Are there any workarounds for CVE-2023-50387?
While updating is highly recommended, temporary network configurations to limit DNS response processing might serve as a workaround for CVE-2023-50387.