GLSA 200805-23 Samba: Heap-based buffer overflow
Posted on: 05/29/2008 04:05 PM

A new security update has been released for Gentoo Linux - Samba: Heap-based buffer overflow. Here the announcement:

Gentoo Linux Security Advisory GLSA 200805-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Samba: Heap-based buffer overflow
Date: May 29, 2008
Bugs: #222299
ID: 200805-23

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A heap-based buffer overflow vulnerability was found in Samba, allowing
for the execution of arbitrary code.

Background
==========

Samba is a suite of SMB and CIFS client/server programs.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-fs/samba lt; 3.0.28a-r1 gt;= 3.0.28a-r1

Description
===========

Alin Rad Pop (Secunia Research) reported a vulnerability in Samba
within the receive_smb_raw() function in the file lib/util_sock.c when
parsing SMB packets, possibly leading to a heap-based buffer overflow
via an overly large SMB packet.

Impact
======

A remote attacker could possibly exploit this vulnerability by enticing
a user to connect to a malicious server or by sending specially crafted
packets to an nmbd server configured as a local or domain master
browser, resulting in the execution of arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Samba users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose "gt;=net-fs/samba-3.0.28a-r1"

References
==========

[ 1 ] CVE-2008-1105
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1105

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200805-23.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200805_23_samba_heap_based_buffer_overflow.html)