Scientific Linux Security Update : dnsmasq on SL5.x i386/x86_64

Medium Nessus Plugin ID 60649


The remote Scientific Linux host is missing a security update.


CVE-2009-2957, CVE-2009-2958 dnsmasq: multiple vulnerabilities in TFTP server

Core Security Technologies discovered a heap overflow flaw in dnsmasq when the TFTP service is enabled (the '--enable-tftp' command line option, or by enabling 'enable-tftp' in '/etc/dnsmasq.conf'). If the configured tftp-root is sufficiently long, and a remote user sends a request that sends a long file name, dnsmasq could crash or, possibly, execute arbitrary code with the privileges of the dnsmasq service (usually the unprivileged 'nobody' user). (CVE-2009-2957)

A NULL pointer dereference flaw was discovered in dnsmasq when the TFTP service is enabled. This flaw could allow a malicious TFTP client to crash the dnsmasq service. (CVE-2009-2958)

Note: The default tftp-root is '/var/ftpd', which is short enough to make it difficult to exploit the CVE-2009-2957 issue; if a longer directory name is used, arbitrary code execution may be possible. As well, the dnsmasq package distributed by Red Hat does not have TFTP support enabled by default.

After installing the updated package, the dnsmasq service must be restarted for the update to take effect.


Update the affected dnsmasq package.

See Also

Plugin Details

Severity: Medium

ID: 60649

File Name: sl_20090831_dnsmasq_on_SL5_x.nasl

Version: $Revision: 1.2 $

Type: local

Agent: unix

Published: 2012/08/01

Modified: 2016/12/14

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

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

Vulnerability Information

CPE: x-cpe:/o:fermilab:scientific_linux

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/RedHat/release, Host/RedHat/rpm-list

Patch Publication Date: 2009/08/31

Reference Information

CVE: CVE-2009-2957, CVE-2009-2958

CWE: 119, 399