CVE-2023-50387: Unbound: disclosure of CVE-2023-50387 and CVE-2023-50868 DNSSEC validation vulnerabilities

Published Feb 12, 2024
·
Updated

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

114 affected componentsFixes available
redhat/bind<9.16.48
9.16.48
redhat/bind<9.18.24
9.18.24
redhat/bind<9.19.21
9.19.21
F5 BIG-IP>=17.1.0<=17.1.1
17.1.2
F5 BIG-IP>=16.1.0<=16.1.6
16.1.6.1
F5 BIG-IP>=15.1.0<=15.1.10
15.1.10.8
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Microsoft Windows Server 2008=r2-sp1
Microsoft Windows Server 2012
Microsoft Windows Server 2012=r2
Microsoft Windows Server 2016
Microsoft Windows Server 2019
Microsoft Windows Server 2022
Microsoft Windows Server 2022 23h2
Fedoraproject Fedora=39
thekelleys dnsmasq<2.90
nic Knot Resolver<5.71
PowerDNS recursor>=4.8.0<4.8.6
PowerDNS recursor>=4.9.0<4.9.3
PowerDNS recursor>=5.0.0<5.0.2
ISC BIND>=9.0.0<=9.16.46
ISC BIND>=9.18.0<=9.18.22
ISC BIND>=9.19.0<=9.19.20
nlnetlabs Unbound<1.19.1
Microsoft Windows Server 2012 R2<6.3.9600.21813
6.3.9600.21813
Microsoft Windows Server 2012<6.2.9200.24710
6.2.9200.24710
Microsoft Windows Server 2012<6.2.9200.24710
6.2.9200.24710
Microsoft Windows Server 2008 R2<6.1.7601.26961
6.1.7601.26961
Microsoft Windows Server 2008 R2<6.1.7601.26961
6.1.7601.26961
Microsoft Windows Server 2022<10.0.20348.2322
10.0.20348.2322
Microsoft Windows Server 2016<10.0.14393.6709
10.0.14393.6709
Microsoft Windows Server 2012 R2<6.3.9600.21813
6.3.9600.21813
Microsoft Windows Server 2016<10.0.14393.6709
10.0.14393.6709
Microsoft Windows Server 2022<10.0.20348.2322
10.0.20348.2322
Microsoft Windows Server 2019<10.0.17763.5458
10.0.17763.5458
Microsoft Windows Server 2022, 23H2 Edition<10.0.25398.709
10.0.25398.709
Microsoft Windows Server 2019<10.0.17763.5458
10.0.17763.5458
alpine/bind>=9.0.0<9.16.48-r0
9.16.48-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/bind>=9.18.0<9.18.24-r0
9.18.24-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/dnsmasq<2.90-r0
2.90-r0
alpine/knot-resolver<5.7.1-r0
5.7.1-r0
alpine/knot-resolver<5.7.1-r0
5.7.1-r0
alpine/knot-resolver<5.7.1-r0
5.7.1-r0
alpine/knot-resolver<5.7.1-r0
5.7.1-r0
alpine/knot-resolver<5.7.1-r0
5.7.1-r0
alpine/knot-resolver<5.7.1-r0
5.7.1-r0
alpine/knot-resolver<5.7.1-r0
5.7.1-r0
alpine/pdns-recursor<4.9.3-r0
4.9.3-r0
alpine/pdns-recursor<4.9.3-r0
4.9.3-r0
alpine/pdns-recursor<5.0.2-r0
5.0.2-r0
alpine/pdns-recursor<5.0.2-r0
5.0.2-r0
alpine/pdns-recursor<5.0.2-r0
5.0.2-r0
alpine/pdns-recursor<5.0.2-r0
5.0.2-r0
alpine/pdns-recursor<5.0.2-r0
5.0.2-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
alpine/unbound<1.19.1-r0
1.19.1-r0
debian/bind9
1:9.11.5.P4+dfsg-5.1+deb10u111:9.16.48-11:9.18.24-11:9.19.21-1
debian/dnsjava<=2.1.8-2
3.6.2-1
debian/dnsmasq
2.85-1+deb11u12.90-4~deb12u12.90-1
debian/knot-resolver
5.6.0-1+deb12u15.7.1-1
debian/pdns-recursor
4.8.6-14.9.3-1
debian/systemd
247.3-7+deb11u6252.23-1~deb12u1255.4-1
debian/unbound
1.9.0-2+deb10u41.13.1-1+deb11u21.17.1-2+deb12u21.19.1-1
ubuntu/bind9<1:9.9.5.dfsg-3ubuntu0.19+esm12
1:9.9.5.dfsg-3ubuntu0.19+esm12
ubuntu/unbound<1.4.22-1ubuntu4.14.04.3+esm5
1.4.22-1ubuntu4.14.04.3+esm5
ubuntu/bind9<1:9.10.3.dfsg.P4-8ubuntu1.19+esm8
1:9.10.3.dfsg.P4-8ubuntu1.19+esm8
ubuntu/dnsmasq<2.90-0ubuntu0.16.04.1+esm1
2.90-0ubuntu0.16.04.1+esm1
ubuntu/unbound<1.5.8-1ubuntu1.1+esm5
1.5.8-1ubuntu1.1+esm5
ubuntu/knot-resolver*
ubuntu/pdns-recursor*
ubuntu/bind9<1:9.11.3+dfsg-1ubuntu1.19+esm3
1:9.11.3+dfsg-1ubuntu1.19+esm3
ubuntu/dnsmasq<2.90-0ubuntu0.18.04.1+esm1
2.90-0ubuntu0.18.04.1+esm1
ubuntu/unbound<1.6.7-1ubuntu2.6+esm6
1.6.7-1ubuntu2.6+esm6
ubuntu/knot-resolver*
ubuntu/pdns-recursor*
ubuntu/bind9<1:9.16.48-0ubuntu0.20.04.1
1:9.16.48-0ubuntu0.20.04.1
ubuntu/dnsmasq<2.90-0ubuntu0.20.04.1
2.90-0ubuntu0.20.04.1
ubuntu/unbound<1.9.4-2ubuntu1.5
1.9.4-2ubuntu1.5
ubuntu/bind9-libs*
ubuntu/knot-resolver*
ubuntu/pdns-recursor*
ubuntu/bind9<1:9.18.18-0ubuntu0.22.04.2
1:9.18.18-0ubuntu0.22.04.2
ubuntu/bind9-libs*
ubuntu/dnsmasq<2.90-0ubuntu0.22.04.1
2.90-0ubuntu0.22.04.1
ubuntu/unbound<1.13.1-1ubuntu5.4
1.13.1-1ubuntu5.4
ubuntu/knot-resolver*
ubuntu/pdns-recursor*
ubuntu/isc-dhcp*
ubuntu/unbound<1.19.1-1ubuntu1
1.19.1-1ubuntu1
ubuntu/isc-dhcp*
ubuntu/isc-dhcp*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.16.48
  2. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.18.24
  3. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.19.21
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.1.2
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.1.6.1
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.1.10.8
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.3.9600.21813Patch KB5034819
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.2.9200.24710Patch KB5034830
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.1.7601.26961Patch KB5034809
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.20348.2322Patch KB5034770
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.14393.6709Patch KB5034767
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.17763.5458Patch KB5034768
  13. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.25398.709Patch KB5034769
  14. Upgrade

    Upgrade alpine/bind to a version that resolves this vulnerability.

    Fixed in 9.16.48-r0
  15. Upgrade

    Upgrade alpine/bind to a version that resolves this vulnerability.

    Fixed in 9.18.24-r0
  16. Upgrade

    Upgrade alpine/dnsmasq to a version that resolves this vulnerability.

    Fixed in 2.90-r0
  17. Upgrade

    Upgrade alpine/knot-resolver to a version that resolves this vulnerability.

    Fixed in 5.7.1-r0
  18. Upgrade

    Upgrade alpine/pdns-recursor to a version that resolves this vulnerability.

    Fixed in 4.9.3-r0
  19. Upgrade

    Upgrade alpine/pdns-recursor to a version that resolves this vulnerability.

    Fixed in 5.0.2-r0
  20. Upgrade

    Upgrade alpine/unbound to a version that resolves this vulnerability.

    Fixed in 1.19.1-r0
  21. Upgrade

    Upgrade debian/bind9 to 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
  22. Upgrade

    Upgrade debian/dnsjava to a version that resolves this vulnerability.

    Fixed in 3.6.2-1
  23. Upgrade

    Upgrade debian/dnsmasq to a version that resolves this vulnerability.

    Fixed in 2.85-1+deb11u1Fixed in 2.90-4~deb12u1Fixed in 2.90-1
  24. Upgrade

    Upgrade debian/knot-resolver to a version that resolves this vulnerability.

    Fixed in 5.6.0-1+deb12u1Fixed in 5.7.1-1
  25. Upgrade

    Upgrade debian/pdns-recursor to a version that resolves this vulnerability.

    Fixed in 4.8.6-1Fixed in 4.9.3-1
  26. Upgrade

    Upgrade debian/systemd to a version that resolves this vulnerability.

    Fixed in 247.3-7+deb11u6Fixed in 252.23-1~deb12u1Fixed in 255.4-1
  27. Upgrade

    Upgrade debian/unbound to 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
  28. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.9.5.dfsg-3ubuntu0.19+esm12
  29. Upgrade

    Upgrade ubuntu/unbound to a version that resolves this vulnerability.

    Fixed in 1.4.22-1ubuntu4.14.04.3+esm5
  30. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.10.3.dfsg.P4-8ubuntu1.19+esm8
  31. Upgrade

    Upgrade ubuntu/dnsmasq to a version that resolves this vulnerability.

    Fixed in 2.90-0ubuntu0.16.04.1+esm1
  32. Upgrade

    Upgrade ubuntu/unbound to a version that resolves this vulnerability.

    Fixed in 1.5.8-1ubuntu1.1+esm5
  33. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.11.3+dfsg-1ubuntu1.19+esm3
  34. Upgrade

    Upgrade ubuntu/dnsmasq to a version that resolves this vulnerability.

    Fixed in 2.90-0ubuntu0.18.04.1+esm1
  35. Upgrade

    Upgrade ubuntu/unbound to a version that resolves this vulnerability.

    Fixed in 1.6.7-1ubuntu2.6+esm6
  36. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.16.48-0ubuntu0.20.04.1
  37. Upgrade

    Upgrade ubuntu/dnsmasq to a version that resolves this vulnerability.

    Fixed in 2.90-0ubuntu0.20.04.1
  38. Upgrade

    Upgrade ubuntu/unbound to a version that resolves this vulnerability.

    Fixed in 1.9.4-2ubuntu1.5
  39. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.18.18-0ubuntu0.22.04.2
  40. Upgrade

    Upgrade ubuntu/dnsmasq to a version that resolves this vulnerability.

    Fixed in 2.90-0ubuntu0.22.04.1
  41. Upgrade

    Upgrade ubuntu/unbound to a version that resolves this vulnerability.

    Fixed in 1.13.1-1ubuntu5.4
  42. Upgrade

    Upgrade ubuntu/unbound to a version that resolves this vulnerability.

    Fixed in 1.19.1-1ubuntu1

Event History

Feb 12, 2024
Data Sourced
via Red Hat·07:05 PM
DescriptionSeverityAffected Software
Feb 13, 2024
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
News Published
via The Register·11:27 PM
Feb 14, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
Description
Feb 15, 2024
Updated
via NVD·07:15 PM
Description
Feb 17, 2024
News Published
via BleepingComputer·04:08 PM
Feb 18, 2024
Updated
via MITRE·02:05 AM
Description
Exploit Published
via GitHub·09:50 PM
Feb 20, 2024
Data Sourced
via NVD·04:55 PM
RemedySeverityWeaknessAffected Software
Event
via NVD·04:55 PM
Feb 21, 2024
Updated
via NVD·01:15 PM
Affected Software
Feb 23, 2024
Updated
via NVD·02:15 AM
Affected Software
Feb 26, 2024
Updated
via NVD·04:27 PM
Affected Software
Feb 29, 2024
Updated
via NVD·03:15 AM
Affected Software
Mar 4, 2024
Updated
via NVD·03:15 AM
Affected Software
Mar 7, 2024
Updated
via NVD·05:15 PM
Affected Software
Mar 26, 2024
News Published
via The Register·08:24 AM
Mar 29, 2024
Advisory Published
via F5·04:55 PM
Data Sourced
via F5·04:55 PM
DescriptionSeverityWeaknessAffected Software
May 9, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jun 10, 2024
Updated
via NVD·05:16 PM
Affected Software
Jul 24, 2024
Advisory Published
via F5·06:35 AM
Oct 16, 2024
Updated
via IBM·12:00 AM
DescriptionAffected Software
Nov 21, 2024
Updated
via NVD·08:36 AM
RemedyAffected Software
Dec 5, 2024
Updated
via F5·02:35 AM
Affected Software
Jan 17, 2025
Advisory Published
via F5·07:43 AM
Updated
via F5·07:43 AM
Affected Software
Jan 21, 2025
Updated
via F5·07:08 AM
Affected Software
Feb 4, 2025
Updated
via IBM·12:00 AM
Affected Software
May 12, 2025
Updated
via NVD·03:15 PM
RemedySeverityWeaknessAffected Software
Updated
via NVD·03:15 PM
SeverityWeaknessAffected Software
Oct 15, 2025
Updated
via F5·06:55 PM
Affected Software
Nov 3, 2025
Updated
via NVD·10:16 PM
Affected Software
Jun 17, 2026
Updated
via NVD·06:39 AM
Affected Software
Oct 21, 2026
Updated
via Ubuntu·12:00 AM
Description
Nov 17, 2026
Updated
via OSV·06:31 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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.

3

How do I fix CVE-2023-50387?

To fix CVE-2023-50387, apply the specific patches and updates provided by your software vendor.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203