<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200809-02 ] dnsmasq: Denial of Service and DNS spoofing



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200809-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: dnsmasq: Denial of Service and DNS spoofing
      Date: September 04, 2008
      Bugs: #231282, #232523
        ID: 200809-02

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Two vulnerabilities in dnsmasq might allow for a Denial of Service or
spoofing of DNS replies.

Background
==========

Dnsmasq is a lightweight and easily-configurable DNS forwarder and DHCP
server.

Affected packages
=================

    -------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  net-dns/dnsmasq       < 2.45                              >= 2.45

Description
===========

* Dan Kaminsky of IOActive reported that dnsmasq does not randomize
  UDP source ports when forwarding DNS queries to a recursing DNS
  server (CVE-2008-1447).

* Carlos Carvalho reported that dnsmasq in the 2.43 version does not
  properly handle clients sending inform or renewal queries for unknown
  DHCP leases, leading to a crash (CVE-2008-3350).

Impact
======

A remote attacker could send spoofed DNS response traffic to dnsmasq,
possibly involving generating queries via multiple vectors, and spoof
DNS replies, which could e.g. lead to the redirection of web or mail
traffic to malicious sites. Furthermore, an attacker could generate
invalid DHCP traffic and cause a Denial of Service.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All dnsmasq users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-dns/dnsmasq-2.45"

References
==========

  [ 1 ] CVE-2008-3350
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3350
  [ 2 ] CVE-2008-1447
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200809-02.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: signature.asc
Description: This is a digitally signed message part.