blob: f24b1c6ccc039570e47c9022368a4e486330d549 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200901-03">
<title>pdnsd: Denial of Service and cache poisoning</title>
Two errors in pdnsd allow for Denial of Service and cache poisoning.
<product type="ebuild">pdnsd</product>
<announced>January 11, 2009</announced>
<revised>January 11, 2009: 01</revised>
<package name="net-dns/pdnsd" auto="yes" arch="*">
<unaffected range="ge">1.2.7</unaffected>
<vulnerable range="lt">1.2.7</vulnerable>
pdnsd is a proxy DNS server with permanent caching that is designed to
cope with unreachable DNS servers.
Two issues have been reported in pdnsd:
The p_exec_query() function in src/dns_query.c does not properly handle
many entries in the answer section of a DNS reply, related to a
"dangling pointer bug" (CVE-2008-4194).
The default value for query_port_start was set to 0, disabling UDP
source port randomization for outgoing queries (CVE-2008-1447).
<impact type="normal">
An attacker could exploit the second weakness to poison the cache of
pdnsd and thus spoof DNS traffic, which could e.g. lead to the
redirection of web or mail traffic to malicious sites. The first issue
can be exploited by enticing pdnsd to send a query to a malicious DNS
server, or using the port randomization weakness, and might lead to a
Denial of Service.
Port randomization can be enabled by setting the "query_port_start"
option to 1024 which would resolve the CVE-2008-1447 issue.
All pdnsd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-dns/pdnsd-1.2.7&quot;</code>
<uri link="">CVE-2008-1447</uri>
<uri link="">CVE-2008-4194</uri>
<metadata tag="requester" timestamp="Wed, 26 Nov 2008 18:15:10 +0000">
<metadata tag="submitter" timestamp="Wed, 26 Nov 2008 23:10:06 +0000">
<metadata tag="bugReady" timestamp="Wed, 26 Nov 2008 23:10:19 +0000">