FreeBSD : FreeBSD -- Buffer overflow in handling of UNIX socket addresses (f56390a4-4638-11e1-9f47-00e0815b8da8)

High Nessus Plugin ID 57742


The remote FreeBSD host is missing one or more security-related updates.


When a UNIX-domain socket is attached to a location using the bind(2) system call, the length of the provided path is not validated. Later, when this address was returned via other system calls, it is copied into a fixed-length buffer.

Linux uses a larger socket address structure for UNIX-domain sockets than FreeBSD, and the FreeBSD's linux emulation code did not translate UNIX-domain socket addresses into the correct size of structure.


Update the affected packages.

See Also

Plugin Details

Severity: High

ID: 57742

File Name: freebsd_pkg_f56390a4463811e19f4700e0815b8da8.nasl

Version: $Revision: 1.3 $

Type: local

Published: 2012/01/31

Modified: 2013/10/02

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:FreeBSD, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info, Settings/ParanoidReport

Patch Publication Date: 2012/01/29

Vulnerability Publication Date: 2011/09/28

Reference Information

OSVDB: 75788

FreeBSD: SA-11:05.unix