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

High 7.5 Published Updated

Attackers can exhaust CPU and memory resources on BIND 9 DNS resolvers by flooding them with crafted HTTP/2 traffic when DNS-over-HTTPS is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-12705?

CVE-2024-12705 is a high-severity denial of service vulnerability in ISC BIND 9, published on 29 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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. 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.

Weakness: CWE-770

Which versions are affected by CVE-2024-12705?

How do I fix CVE-2024-12705?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-12705 being exploited?

There is no known exploitation of CVE-2024-12705 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2024-12705, AZL-56105, BELL-CVE-2024-12705, DEBIAN-CVE-2024-12705, GHSA-gf34-2fpp-vmc4, UBUNTU-CVE-2024-12705.

Is CVE-2024-12705 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free