Internet Systems Consortium's BIND TCP Receive Buffer Length Assertion Check Denial of Service Vulnerability
An assertion failure in BIND's TCP receive buffer handling can be triggered by flooding the TCP port with unauthenticated packets, causing the server to abort and resulting in a denial of service.
Originally disclosed on Cisco Talos
An assertion failure exists within the Internet Systems Consortium’s BIND server versions 9.16.1 through 9.17.1 when processing TCP traffic via the libuv library. Due to a length specified within a callback for the library, flooding the server’s TCP port used for larger DNS requests (AXFR) can cause the libuv library…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the receive buffer size (20 * 65536) exceeds the maximum allowed by an assertion check (NM_BIG_BUF) when libuv passes a large length to the DNS buffer allocation function.
Impact
The server terminates, causing a denial of service; the vulnerability does not affect Windows platforms.
What the attacker needed
Network access to the BIND server's TCP port; BIND version 9.16.1 to 9.17.1 on a non-Windows platform
The fix
The vendor patched the issue.
How it was found
- Attach to the running named process with gdb and continue execution.
- Run the provided proof-of-concept script after setting the destination IP and port.
- The script floods the TCP port, causing the assertion to fail and the process to abort.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
BIND is a widely used DNS server. A bug in how it handles incoming TCP connections can be exploited by sending many packets, causing the server to crash and stop responding to legitimate requests.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.