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

high Nessus Plugin ID 57742

Synopsis

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

Description

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.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?24d7b659

Plugin Details

Severity: High

ID: 57742

File Name: freebsd_pkg_f56390a4463811e19f4700e0815b8da8.nasl

Version: 1.9

Type: local

Published: 1/31/2012

Updated: 1/6/2021

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

CVSS Score Rationale: Score from an in depth analysis done by tenable

Vulnerability Information

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

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

Patch Publication Date: 1/29/2012

Vulnerability Publication Date: 9/28/2011

Reference Information

FreeBSD: SA-11:05.unix