1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200504-03 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Low |
8 |
Title: Dnsmasq: Poisoning and Denial of Service vulnerabilities |
9 |
Date: April 04, 2005 |
10 |
Bugs: #86718 |
11 |
ID: 200504-03 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
Dnsmasq is vulnerable to DNS cache poisoning attacks and a potential |
19 |
Denial of Service from the local network. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
Dnsmasq is a lightweight and easily-configurable DNS forwarder and DHCP |
25 |
server. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 net-dns/dnsmasq < 2.22 >= 2.22 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Dnsmasq does not properly detect that DNS replies received do not |
39 |
correspond to any DNS query that was sent. Rob Holland of the Gentoo |
40 |
Linux Security Audit team also discovered two off-by-one buffer |
41 |
overflows that could crash DHCP lease files parsing. |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
A remote attacker could send malicious answers to insert arbitrary DNS |
47 |
data into the Dnsmasq cache. These attacks would in turn help an |
48 |
attacker to perform man-in-the-middle and site impersonation attacks. |
49 |
The buffer overflows might allow an attacker on the local network to |
50 |
crash Dnsmasq upon restart. |
51 |
|
52 |
Workaround |
53 |
========== |
54 |
|
55 |
There is no known workaround at this time. |
56 |
|
57 |
Resolution |
58 |
========== |
59 |
|
60 |
All Dnsmasq users should upgrade to the latest version: |
61 |
|
62 |
# emerge --sync |
63 |
# emerge --ask --oneshot --verbose ">=net-dns/dnsmasq-2.22" |
64 |
|
65 |
References |
66 |
========== |
67 |
|
68 |
[ 1 ] Dnsmasq Changelog |
69 |
http://www.thekelleys.org.uk/dnsmasq/CHANGELOG |
70 |
|
71 |
Availability |
72 |
============ |
73 |
|
74 |
This GLSA and any updates to it are available for viewing at |
75 |
the Gentoo Security Website: |
76 |
|
77 |
http://security.gentoo.org/glsa/glsa-200504-03.xml |
78 |
|
79 |
Concerns? |
80 |
========= |
81 |
|
82 |
Security is a primary focus of Gentoo Linux and ensuring the |
83 |
confidentiality and security of our users machines is of utmost |
84 |
importance to us. Any security concerns should be addressed to |
85 |
security@g.o or alternatively, you may file a bug at |
86 |
http://bugs.gentoo.org. |
87 |
|
88 |
License |
89 |
======= |
90 |
|
91 |
Copyright 2005 Gentoo Foundation, Inc; referenced text |
92 |
belongs to its owner(s). |
93 |
|
94 |
The contents of this document are licensed under the |
95 |
Creative Commons - Attribution / Share Alike license. |
96 |
|
97 |
http://creativecommons.org/licenses/by-sa/2.0 |