Skip to content
DoS Advisory Intermediate CVE-2020-6071

Videolabs libmicrodns 0.1.0 resource record recursive label uncompression denial-of-service vulnerability

The mDNS message parser in libmicrodns 0.1.0 follows compression pointers in resource record labels recursively without any recursion limit. An attacker who sends a crafted mDNS message with a pointer that refers back to itself can cause endless recursion, exhaust the stack and crash the process, giving a denial of service.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable denial-of-service vulnerability exists in the resource record-parsing functionality of Videolabs libmicrodns 0.1.0. When parsing compressed labels in mDNS messages, the compression pointer is followed without checking for recursion, leading to a denial of service.

Claudio Bozzato, 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

The label-decoding function recurses into compression pointers without tracking recursion depth or detecting loops, so a self-referential pointer causes unbounded recursion.

Impact

A remote, unauthenticated attacker could crash the process that uses the library, causing a denial of service.

What the attacker needed

Network access to the mDNS listener; no authentication needed

The fix

The vendor patched the issue, presumably by adding recursion checks when following compression pointers.

How it was found

  1. Send an mDNS message to the target that contains a resource record label with a compression pointer.
  2. Make the pointer refer back to its own location so decoding loops.
  3. The parser recurses endlessly and the stack is exhausted, crashing the process.

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.

mDNS is a way for devices on a local network to find each other by name. To save space, names in these messages can point back to an earlier part of the same message instead of repeating the text. The library followed those pointers without ever checking how deep it had gone, so a pointer that loops back on itself made the program call itself forever until it ran out of memory and crashed.

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 Claudio Bozzato

View all

185 more disclosed reports, 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.