Skip to content
DoS Advisory Advanced CVE-2020-6077

Videolabs libmicrodns 0.1.0 message-parsing bounds denial-of-service vulnerability

The mDNS message parser in libmicrodns 0.1.0 fails to correctly track the remaining bytes in a message, so a crafted mDNS message can make it read outside the buffer. An attacker on the network could send such a message to crash the service, causing 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 message-parsing functionality of Videolabs libmicrodns 0.1.0. When parsing mDNS messages, the implementation does not properly keep track of the available data in the message, possibly leading to an out-of-bounds read that would result in 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

Likely a size check uses sizeof on a 16-bit length value, so it only rejects a remaining count of 0 or 1 instead of the full two bytes, and the header parser also loses its byte count because it is passed by value.

Impact

An attacker who can send an mDNS message could cause an out-of-bounds read and crash the resolver, a denial of service; the text also notes the bug may be combined with other flaws to trigger a double-free.

What the attacker needed

Ability to send mDNS messages to the target

The fix

The vendor patched the issue, according to the timeline.

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.

This library listens for small network announcements called mDNS messages, which computers use to find each other on a local network. When it reads one, it is supposed to check that it never looks past the end of the received data, but a mistake in that check lets a malicious message point it outside the buffer. Reading memory it should not touch can crash the program, so the service stops working for everyone.

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.