Gentoo Logo

pdnsd: Denial of Service and potential arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200605-10 / pdnsd
Release Date May 10, 2006
Latest Revision May 10, 2006: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-dns/pdnsd < 1.2.4 >= 1.2.4 All supported architectures

Related bugreports: #131341


pdnsd is vulnerable to a buffer overflow that may result in arbitrary code execution.

2.  Impact Information


pdnsd is a proxy DNS server with permanent caching that is designed to cope with unreachable DNS servers.


The pdnsd team has discovered an unspecified buffer overflow vulnerability. The PROTOS DNS Test Suite, by the Oulu University Secure Programming Group (OUSPG), has also revealed a memory leak error within the handling of the QTYPE and QCLASS DNS queries, leading to consumption of large amounts of memory.


An attacker can craft malicious DNS queries leading to a Denial of Service, and potentially the execution of arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All pdnsd users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-dns/pdnsd-1.2.4-r1"

4.  References


Page updated May 10, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.