Local user can crash avahi-daemon with ServiceBrowserNew() call

Bug #95743 reported by James Henstridge
256
Affects Status Importance Assigned to Milestone
Avahi
Fix Released
Unknown
avahi (Ubuntu)
Fix Released
High
Martin Pitt
Nominated for Dapper by Trent Lloyd
Nominated for Edgy by Trent Lloyd
Declined for Feisty by Martin Pitt

Bug Description

Binary package hint: avahi-daemon

Using avahi from feisty (0.6.17-0ubuntu2), I was able to crash the daemon by issuing the ServiceBrowserNew() D-BUS method call with the interface argument set to zero. I brought this up with one of the developers, who confirmed the bug and produced a fix for the problem:
    http://avahi.org/ticket/119

Revision history for this message
James Henstridge (jamesh) wrote :

Not just a Feisty bug: I could reproduce the crash on dapper (don't have any earlier installs to test).

Revision history for this message
Martin Pitt (pitti) wrote :

Patched upstream, will apply to Feisty soon.

Kees, I'm not entirely convinced that this is worth fixing in stables. What do you think?

Changed in avahi:
assignee: nobody → pitti
importance: Undecided → High
status: Unconfirmed → In Progress
Revision history for this message
Trent Lloyd (lathiat) wrote :

Well it's a 2 line fix, probably worth doing I guess.. it is a local DoS I guess its not *that* important, i.e. its not remote etc

Revision history for this message
Kees Cook (kees) wrote :

In this case, I don't think a local user DoS should cause a stable update. If there are future avahi updates, we should include this, though. But the fix should go into Feisty, since that's still open.

Revision history for this message
Martin Pitt (pitti) wrote :

 avahi (0.6.17-0ubuntu3) feisty; urgency=low
 .
   * debian/control: Add XS-Vcs-Bzr: header.
   * Add debian/patches/00upstream-ServiceBrowserNew-crash.patch: Fix local
     user crash DoS. Patch taken from upstream svn:
     http://avahi.org/changeset/1399. (LP: #95743)

Changed in avahi:
status: In Progress → Fix Released
Changed in avahi:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.