Debian DSA-1623-1 : dnsmasq - DNS cache poisoning

Medium Nessus Plugin ID 33772


The remote Debian host is missing a security-related update.


Dan Kaminsky discovered that properties inherent to the DNS protocol lead to practical DNS cache poisoning attacks. Among other things, successful attacks can lead to misdirected web traffic and email rerouting.

This update changes Debian's dnsmasq packages to implement the recommended countermeasure: UDP query source port randomization. This change increases the size of the space from which an attacker has to guess values in a backwards-compatible fashion and makes successful attacks significantly more difficult.

This update also switches the random number generator to Dan Bernstein's SURF.


Upgrade the dnsmasq package.

For the stable distribution (etch), this problem has been fixed in version 2.35-1+etch4. Packages for alpha will be provided later.

See Also

Plugin Details

Severity: Medium

ID: 33772

File Name: debian_DSA-1623.nasl

Version: 1.27

Type: local

Agent: unix

Published: 2008/08/01

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:dnsmasq, cpe:/o:debian:debian_linux:4.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2008/07/31

Reference Information

CVE: CVE-2008-1447, CVE-2008-4194

DSA: 1623

IAVA: 2008-A-0045

CWE: 399