Skip to content
DoS Advisory Intermediate CVE-2020-6079CVE-2020-6080

Videolabs libmicrodns 0.1.0 resource allocation denial-of-service vulnerabilities

The libmicrodns library fails to free allocated memory when parsing malformed mDNS messages, leading to memory leaks. An attacker can repeatedly send such messages to exhaust memory and cause a denial of service.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

High 7.5 View original

Multiple exploitable denial-of-service vulnerabilities exist in the resource allocation handling of Videolabs libmicrodns 0.1.0. When encountering errors while parsing mDNS messages, some allocated data is not freed, possibly leading to a denial-of-service condition via resource exhaustion.

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, error paths in the message parsing functions return without freeing previously allocated memory buffers.

Impact

An attacker could cause a denial of service by exhausting process memory, potentially crashing the service.

What the attacker needed

Network access to the mDNS service

The fix

The vendor patched the vulnerabilities, likely by ensuring allocated memory is freed on error paths.

How it was found

  1. Craft an mDNS message containing a TXT answer with multiple strings in the RDATA section and an invalid string length at the end.
  2. Send the crafted message to the target service.
  3. Repeat sending the message many times to exhaust memory.

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 report describes a memory leak bug in a library that handles mDNS, a protocol used for devices to discover each other on a local network. When the library receives a specially crafted message, it allocates memory but forgets to release it, so sending many such messages can use up all available memory and crash the service.

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.