CVE-2024-12705: DNS-over-HTTPS implementation suffers from multiple issues under heavy query load

Published Jan 29, 2025
·
Updated

Clients using DNS-over-HTTPS (DoH) can exhaust a DNS resolver's CPU and/or memory by flooding it with crafted valid or invalid HTTP/2 traffic. This issue affects BIND 9 versions 9.18.0 through 9.18.32, 9.20.0 through 9.20.4, 9.21.0 through 9.21.3, and 9.18.11-S1 through 9.18.32-S1.

Other sources

Description: Clients using DNS-over-HTTPS (DoH) can exhaust a DNS resolver's CPU and/or memory by flooding it with crafted valid or invalid HTTP/2 traffic.

Impact: By flooding a target resolver with HTTP/2 traffic and exploiting this flaw, an attacker could overwhelm the server, causing high CPU and/or memory usage and preventing other clients from establishing DoH connections. This would significantly impair the resolver's performance and effectively deny legitimate clients access to the DNS resolution service.

Authoritative servers are affected by this vulnerability. Resolvers are affected by this vulnerability.

Versions affected: 9.18.0 -> 9.18.32 9.20.0 -> 9.20.4 9.21.0 -> 9.21.3

(Versions prior to 9.18.27 were not assessed.)

— Red Hat

DNS-over-HTTPS implementation suffers from multiple issues under heavy query load

— Debian

Affected Software

13 affected componentsFixes available
Microsoft azl3 bind 9.20.5-1<9.20.5-1
9.20.5-1
Microsoft azl3 bind 9.20.0-1<9.20.5-1
9.20.5-1
alpine/bind<9.18.33-r0
9.18.33-r0
alpine/bind<9.18.33-r0
9.18.33-r0
alpine/bind<9.18.33-r0
9.18.33-r0
alpine/bind<9.18.33-r0
9.18.33-r0
alpine/bind<9.18.33-r0
9.18.33-r0
alpine/bind<9.18.33-r0
9.18.33-r0
alpine/bind<9.18.33-r0
9.18.33-r0
debian/bind9<1:9.18.33-1~deb12u2
1:9.18.33-1~deb12u2
debian/bind9<1:9.20.5-1
1:9.20.5-1
debian/bind9<1:9.20.5-1
1:9.20.5-1
debian/bind9
1:9.18.49-1~deb12u11:9.18.49-1~deb12u31:9.20.26-1~deb13u11:9.20.30-1~deb13u11:9.20.30-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 9.20.5-1
  2. Upgrade

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

    Fixed in 9.18.33-r0
  3. Upgrade

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

    Fixed in 1:9.18.33-1~deb12u2
  4. Upgrade

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

    Fixed in 1:9.20.5-1
  5. Upgrade

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

    Fixed in 1:9.18.49-1~deb12u1Fixed in 1:9.18.49-1~deb12u3Fixed in 1:9.20.26-1~deb13u1Fixed in 1:9.20.30-1~deb13u1Fixed in 1:9.20.30-1
  6. Upgrade

    Upgrade BIND 9 to a version that resolves this vulnerability.

    Fixed in 9.18.33
  7. Upgrade

    Upgrade BIND 9 to a version that resolves this vulnerability.

    Fixed in 9.20.5
  8. Upgrade

    Upgrade BIND 9 to a version that resolves this vulnerability.

    Fixed in 9.21.4
  9. Upgrade

    Upgrade BIND 9 to a version that resolves this vulnerability.

    Fixed in 9.18.33-S1

Event History

Jan 29, 2025
Data Sourced
via Red Hat·09:28 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·09:40 PM
Data Sourced
via MITRE·09:40 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software
Feb 20, 2025
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-12705?

CVE-2024-12705 has a medium severity rating as it can lead to resource exhaustion of the DNS resolver.

2

How do I fix CVE-2024-12705?

To fix CVE-2024-12705, you should upgrade BIND 9 to a version that is not affected, such as a version outside of the specified ranges.

3

Which BIND 9 versions are affected by CVE-2024-12705?

CVE-2024-12705 affects BIND 9 versions 9.18.0 through 9.18.32, 9.20.0 through 9.20.4, 9.21.0 through 9.21.3, and 9.18.11-S1 through 9.18.32-S1.

4

What attack vector is associated with CVE-2024-12705?

CVE-2024-12705 can be exploited by flooding a DNS resolver with crafted HTTP/2 traffic, leading to potential CPU and memory exhaustion.

5

How can I mitigate the risks of CVE-2024-12705?

Mitigations for CVE-2024-12705 include applying rate limiting on DNS requests and ensuring that your DNS servers are running updated versions of BIND.

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