FreeBSD : mDNSResponder -- corrupted stack crash when parsing bad resolv.conf (1cd87e2a-81e3-11df-81d8-00262d5ed8ee)

This script is Copyright (C) 2010-2015 Tenable Network Security, Inc.


Synopsis :

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

Description :

Juli Mallett reports :

mdnsd will crash on some systems with a corrupt stack and once that's
fixed it will still leak a file descriptor when parsing resolv.conf.
The crash is because scanf is used with %10s for a buffer that is only
10 chars long. The buffer size needs increased to 11 chars to hold the
trailing NUL. To fix the leak, an fclose needs added.

See also :

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147007
http://www.nessus.org/u?e9b251fc

Solution :

Update the affected package.

Risk factor :

High

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 47142 (freebsd_pkg_1cd87e2a81e311df81d800262d5ed8ee.nasl)

Bugtraq ID:

CVE ID:

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now