Skip to content
DoS Advisory Intermediate CVE-2020-8620

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.

Emanuel Almeida Follow

Originally disclosed on Cisco Talos

High 7.5 View original

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…

Emanuel Almeida, on Cisco Talos

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

  1. Attach to the running named process with gdb and continue execution.
  2. Run the provided proof-of-concept script after setting the destination IP and port.
  3. 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.

More by Emanuel Almeida

View all

1 more disclosed report, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.