CVE-2023-50868: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities
ISC BIND is vulnerable to a denial of service, caused by an error when preparing an NSEC3 closest encloser proof. By flooding the target resolver with queries, a remote attacker could exploit this vulnerability to cause CPU exhaustion on a DNSSEC-validating resolver.
Other sources
MITRE: CVE-2023-50868 NSEC3 closest encloser proof can exhaust CPU
— Microsoft
The Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance is skipped) allows remote attackers to cause a denial of service (CPU consumption for SHA-1 computations) via DNSSEC responses in a random subdomain attack, aka the "NSEC3" issue. The RFC 5155 specification implies that an algorithm must perform thousands of iterations of a hash function in certain situations.
— Ubuntu
The processing of responses coming from DNSSEC-signed zones using NSEC3 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 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
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-50868?
CVE-2023-50868 is classified as a high severity vulnerability due to its potential for denial of service attacks.
How does CVE-2023-50868 affect DNSSEC-validating resolvers?
CVE-2023-50868 can cause CPU exhaustion on DNSSEC-validating resolvers when exploited by an attacker flooding the resolver with queries.
What are the affected products in CVE-2023-50868?
CVE-2023-50868 affects multiple versions of Microsoft Windows Server, F5 BIG-IP, and several Debian packages such as bind9.
How can I mitigate the impact of CVE-2023-50868?
To mitigate CVE-2023-50868, apply the latest patches provided by the affected software vendors to remediate the vulnerability.
What type of attack is possible due to CVE-2023-50868?
CVE-2023-50868 allows for a denial of service attack, leading to performance issues for affected DNS resolvers.