|Description||The DNS protocol, as implemented in (1) BIND 8 and 9 before 9.5.0-P1, 9.4.2-P1, and 9.3.5-P1; (2) Microsoft DNS in Windows 2000 SP4, XP SP2 and SP3, and Server 2003 SP1 and SP2; and other implementations allow remote attackers to spoof DNS traffic via a birthday attack that uses in-bailiwick referrals to conduct cache poisoning against recursive resolvers, related to insufficient randomness of DNS transaction IDs and source ports, aka "DNS Insufficient Socket Entropy Vulnerability" or "the Kaminsky bug."|
|Source||CVE (at NVD; oss-sec, fulldisc, OSVDB, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, more)|
|References||DSA-1603-1, DSA-1604-1, DSA-1605-1, DSA-1617-1, DSA-1619-1, DSA-1623-1, DTSA-147-1|
|NVD severity||medium (attack range: remote)|
|Debian Bugs||490123, 490217, 492465, 492698, 492700, 493599, 502275|
|Debian/oldstable||package dnspython is vulnerable; however, the security impact is unimportant.|
|Debian/stable||package dnspython is vulnerable; however, the security impact is unimportant.|
|Debian/testing||package dnspython is vulnerable; however, the security impact is unimportant.|
|Debian/unstable||package dnspython is vulnerable; however, the security impact is unimportant.|
Vulnerable and fixed packages
The table below lists information on source packages.
|adns (PTS)||wheezy, squeeze||1.4-2||fixed|
|bind9 (PTS)||squeeze (security), squeeze||1:9.7.3.dfsg-1~squeeze11||fixed|
|libnet-dns-perl (PTS)||wheezy, squeeze||0.66-2||fixed|
|udns (PTS)||jessie, sid||0.4-1||fixed|
The information above is based on the following data on fixed versions.
glibc stub resolver relies on source port randomisation in kernel
Just a stub resolver Linux kernel provides source port randomisation
adns is not suitable to use with untrusted responses, documented in README.Debian
Source port randomization from Lenny kernel should provide sufficient protection
since this is just a Perl nodule for DNS queries and not a high-profile server app like
Bind, it's unlikely that a home-grown fix will provide an implementation of higher
cryptographical quality. Marking the version from Lenny as fixed, since Lenny includes
a kernel which provides source port randomization
Unbound, djbdns, pdnsd and PowerDNS are affected by the underlying protocol issue, but
already use source port randomization.
Marking non-caching stub resolvers as low since these really should be fixed,
but are much less vulnerable than a caching server.